Symptom
The following error message is received for a restricted entity: "OData Service get (restricted entity) Failed, Error status: error, error thrown: internal server error"
Environment
- SuccessFactors
- Integrations
- OData
Resolution
Restricted entities cannot be directly called by customers. They are internal to successfactors which are triggered while interacting with specific MDF objects.
As an example, if you change field properties of the field "overrideGuidelineAmountMsg" in SpotAwardProgramAdvancedSettings MDF entity, it would trigger a restricted api call internally.
So any such changes requires a refresh in the restricted metadata.
Examples of Restricted OData API entities
- CustomTile
- FormCustomSection
- UserGroup
Please make an API call as indicated below to refresh the restricted category of MDF entities.
Place it in URL https://<API URL>/odata/v2/restricted/refreshMetadata
Please check your API URL according to your Datacenter and instance (Production, Preview or Sales Demo).
2215682 - Successfactors API URLs for different Data Centers
Please note
UI refresh as mentioned in the KBA 2171588 can only refresh the public category.
See Also
How to make an API call from browser?
Please refer the KBA 2248199
Keywords
Restricted entity metadata refresh; OData Metadata; OData Service get; Error status: error, error thrown: internal server error; , KBA , LOD-SF-INT , Integrations , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT-API , API & Adhoc API Framework , How To