Community
Showing results for 
Search instead for 
Do you mean 
Reply

Response code 500 on Custom Entities

Champion Listener
Posts: 33
Country: Canada

Response code 500 on Custom Entities

Hello,

 

I'm trying to retrieve data from custom entity using Web API GET (GET /api/custom/entities/{entityname}) examples in Swagger UI, but i always get error 500.

The custom entity does exist in the database. I tried to use real Entity name and display Entity name - but same error code 500 is thrown.

Here is the response body:

 

{ "message": "An error has occurred.",

  "exceptionMessage": "Entity name not found in metadata or is not a custom entity.\r\nParameter name: entityName",

  "exceptionType": "System.ArgumentException",

  "stackTrace": .............. }

 

What should be the valid name parameter here?

 

Are there any plans to add GET method to retrieve all custom entities?

 

Thanks.

Katerina