cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

JWT validation error

dmytro_shapiro
Employee
Employee
2,936

Tutorials: https://developers.sap.com/tutorials/cp-cf-businessrules09-test-apis.html
--------------------------

Hi,

I'm getting status code 401 and JWT validation error in the header:

www-authenticate: Bearer error="invalid_token", error_description="JWT verification failed: Do not trust 'jku' token header.", error_uri="https://tools.ietf.org/html/rfc6750#section-3.1"

I made several attempts to configure the environment, while starting from scratch, but the result is the same.

Additional information:

endpoint: /v2/workingset-rule-services

request URL: https://bpmruleruntime.cfapps.eu10.hana.ondemand.com/rules-service/rest/v2/workingset-rule-services

clientid: "sb-clone-1da15af8-171b-4807-ace8-c20938a7025b!b42586|bpmrulebroker!b2018"

Payload:

{
  "RuleServiceId": "53ede73bb93147128459ee22b1eddec4",
  "Vocabulary": [
    {
      "Employee": {
        "IsFullTimeEmployee": true,
        "countryofCompany": "USA",
        "jobTitle": "Engineer II",
         "company": "ACE_USA"
       }
    }
  ]
}
View Entire Topic
SunnyCH60
Explorer
0 Likes

HI 

I am getting the same error even with runtimeURL with US10. 

system connecting to: 

ry_sunny_0-1730816618610.png

Config for test environment at SAP API HUB: 

ry_sunny_1-1730816639372.png