Wrong Reference and Unprocessable Entity

0
I am exposing an entity from Datahub. In my project, I am pulling an entity with an association. I gave read and write permission to all attributes of the relevant entity and this association in the datahub. I still get "Wrong reference" and "Unprocessable Entity" errors as I shared below. I didn't understand why it happened. How can I solve it?   Response content for PATCH request to theURL HTTP/1.1 422 Unprocessable EntityServer: nginxDate: Wed, 13 Dec 2023 10:05:20 GMTContent-Type: application/json;charset=utf-8Content-Length: 238Connection: keep-aliveContent-Language: en-USX-Frame-Options: sameoriginX-Vcap-Request-Id: 8c617ca6-2836-4a06-7bf2-f11f9eb6810dStrict-Transport-Security: max-age=31536000Permissions-Policy: interest-cohort=()   {"error":{"code":"422","message":"Validation failed","details":[{"code":"VE001","target":"EmployeePosition_BudgetOwner","message":"Wrong reference"},{"code":"VE001","target":"EmployeePosition_FirstApprover","message":"Wrong reference"}]}}    
asked
0 answers