Application is configured to use client id enforcement policy. During this process, environment client_id and client_secret values are encrypted and the application is set to use encrypted client credentials. All the incoming requests to the application that is linked to the Client ID Enforcement Policy, fails to evaluate client_id expression.
Message : "Script 'attributes.headers'client_id' ' has errors: Invalid input '#', expected ??? (line 1, column 21): at 1 : 1" evaluating expression: "attributes.headers'client_id'". Error type : MULE:EXPRESSION Element : 1170138-client-id-enforcement/source/processors/0/processors/0 @ client-id-enforcement-1170138-testclientpolicyFlow:/Users/schallagulla/Documents/softs/mule-enterprise-standalone-4.2.2/policies/client-id-enforcement-1170138/policy.xml:23 Element XML : <client-id-enforcement:validate-client config-ref="clientEnforcementConfig" clientId="#attributes.headers['client_id']" clientSecret="#attributes.headers['client_secret']"></client-id-enforcement:validate-client>
Custom Expressions for client_id and client_secret in the policy.
#[attributes.headers['client_id']] #[attributes.headers['client_secret']]
For steps to encrypt client credentials and how it works, refer to this link. This behavior is seen in 4.2.2 and 4.3.0 runtimes.
001120749

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.