Project

General

Profile

Actions

Question #1351

closed

API: E40 will result in an error message

Added by Bernhard Koschiček-Krombholz over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
-
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" 
}

Actions #1

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.

Actions #2

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
Actions #3

Updated by Bernhard Koschiček-Krombholz over 3 years ago

  • Tracker changed from Bug to Question
  • Found in version deleted (5.5.0)
Actions #4

Updated by Alexander Watzinger over 3 years ago

  • Target version deleted (6.0.0)
Actions

Also available in: Atom PDF