While trying to execute an API query, error is encountered as - null object loaded from local variable 'struct'
SuccessFactors BizX - Recruiting Management (RCM)
Reproducing the Issue
When executing an API query with correct URL and authentication details, still the below error keeps occurring.
This is because the entity used in the query is not present in the API Data Dictionary.
Go to Admin Center > OData/SFAPI API Metadata Refresh and Export and perform and Metadata Refresh.
This will restore the missing API entities, and the above error will be resolved.
Note: The entities may go mising if any changes in the data models are performed or the XML templates are changed and uploaded in the Provisioning. Therefore it is recommended that whenver a template change is performed please make sure that the API Metadata refresh is performed from the Admin Center.
null object loaded from local variable API metadata API entity missing , KBA , LOD-SF-RCM-API , Webservices & APIs , Problem