IBM M19 Policy engine incorrect settings
Kamlesh reported the errors when calling the Policy Evaluate api:
{
"result": {
"records": [
{
"errors": [
{
"code": 404,
"id": "opendes:master-data--Well:test1111111111",
"message": "Entitlements response 404 Error 404 - Not Found ",
"reason": "Unauthorized"
},
{
"code": 404,
"id": "opendes:master-data--Well:test1111111111",
"message": "Legal response 404 Error 404 - Not Found ",
"reason": "Error from compliance service"
},
{
"code": "403",
"id": "opendes:master-data--Well:test1111111111",
"message": "The user is not authorized to perform this action",
"reason": "Access denied"
}
],
"id": "opendes:master-data--Well:test1111111111"
}
]
}
}
I confirmed the error in IBM M19 environment.
From the error messages, it seems the two environmental variables ENTITLEMENTS_BASE_URL and LEGAL_BASE_URL in Policy engine are not set correctly. Please check and correct.
Thanks.
cc @todaiks