Actions
Question #1351
closedAPI: E40 will result in an error message
Start date:
2020-09-28
Estimated time:
Description
A API request for class E40 will create an error:
{
"detail":"The syntax is incorrect. These class code is not supported. For the classes please confer the model.",
"instance":"http://127.0.0.1:5000/api/0.1/class/E40",
"intern-status":"404d",
"status":"404",
"timestamp":"2020-09-28 13:40:29.868596",
"title":"Syntax is incorrect!",
"wiki":"https://redmine.openatlas.eu/projects/uni/wiki/Api"
}
Updated by Bernhard Koschiček-Krombholz over 3 years ago
- Status changed from Acknowledged to Closed
The error was, that if there is no entity for this class, a misleading error message will be returned. I changed the error message for better clearance.
Updated by Bernhard Koschiček-Krombholz over 3 years ago
- Subject changed from API: E40 doesn't work to API: E40 will result in an error message
Updated by Bernhard Koschiček-Krombholz over 3 years ago
- Tracker changed from Bug to Question
- Found in version deleted (
5.5.0)
Actions