"Internal application" error while getting/posting profiles

Problem

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

1. Verify the L3 configuration:

get {{api_uri}}/{{tenant}}/configuration/_validateTenantConfiguration

When validation returns 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.

Was this article helpful?
0 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.