I have an error when querying Entity Metadata using the Web API
Executing the Query
https://<domain>/<org>/api/data/v8.2/EntityDefinitions(LogicalName='contact')
Gives me the following error.
"error":{ "code":"","message":"An unexpected error occurred.","innererror":{ "message":"An unexpected error occurred.","type":"System.ServiceModel.FaultException`1 ....
If I look at the trace messages i get the following
>FileExists ~/api/data returning False.
>DirectoryExists ~/api/data returning False
I have checked service root ULR and made sure I am using the FQDN in crm deployment utility
If i run a standard Query like this
https://<domain>/<org>/api/data/v8.2/contacts?$select=fullname&$top=1
I get the correct response
{ "@odata.context":"https://<domain>/<org>/api/data/v8.2/$metadata#contacts(fullname)","value":[ { "@odata.etag":"W/\"23436269\"","fullname":"xxxxxxx","contactid":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } ] }
*This post is locked for comments