Problem
Getting a response as an error from the backend system indicating an internal application exception during the GET {{tenantURL}}/entities/{{entityURI}} request.
GET {{tenantURL}}/entities/{{entityURI}}
{
"severity": "Error",
"errorMessage": "Internal application error.",
"errorCode": 2001,
"errorDetailMessage": "Internal application exception caught during executing operation {0}. Please view application log for details"
}Solution
errorCode: 2001: A generic code indicating an internal error.
errorMessage: A generic failure message; not helpful on its own.
errorDetailMessage: A placeholder {0} suggests that a specific operation name was supposed to be inserted, but wasn't, indicating possible misconfiguration or logging failure.
1. Verify the L3 configuration:
get {{api_uri}}/{{tenant}}/configuration/_validateTenantConfiguration
When validation returns a misconfiguration in response:
{
"configuration/entityTypes/Organization": {
"errors": [
{
"severity": "Error",
"errorMessage": "Primary attribute 'configuration/entityTypes/Organization/attributes/Address/attributes/AddressLine1' is sub-attribute for configuration/entityTypes/Organization/attributes/Address in survivorship mapping",
"errorCode": 1921,
"errorDetailMessage": "The attribute 'configuration/entityTypes/Organization/attributes/Address/attributes/AddressLine1' is mentioned as a primary for it's parent attribute 'configuration/entityTypes/Organization/attributes/Address' in its survivorship mapping, this configuration is forbidden"
}
]
},
"configuration/entityTypes/Location": {
"errors": [
{
"severity": "Error",
"errorMessage": "Attribute with URI 'configuration/entityTypes/Location/attributes/State' mentioned in survivorship rules configuration is not found",
"errorCode": 1916,
"errorDetailMessage": "The attribute with URI 'configuration/entityTypes/Location/attributes/State' mentioned in configuration/entityTypes/Location doesn't exist or the URI has an invalid format"
}
]
}
}2. Fix the errors in metadata configuration.
Comments
Please sign in to leave a comment.