-
assigned issue to
Error coding and API IDs should be added (Sascha)
Developers do not want to give errors to customers, but still needs to know what error has happened where so they prefer to use error code and API ID. This will helps debugging, especially on libraries.
Comments (7)
-
reporter -
- changed status to open
Created the branch issue/26 to start working on the issue
-
reporter Thanks Sascha, I have looked at your edits in issues/26 branch.
Couple of questions/comments:
-
In the ISO regulation, a hanging paragraph is not allowed, so the first few paragraph of the new Clause 8. need to be put in something like 8.1 Introduction.
-
the expression like > and < does not work. Just saying "following pattern" etc. is not normative enough. It should say something like "The endpoint shall construct the error message by concatenating the API-ID value and the error ID with "-" (0x2D) and provide it in the x-fapi-error: HTTP header", etc.
-
The 2nd sentence of 8.4 " Since the HTTP status code and the error message either do not identify the exact error cause and require parsing the message body" is a running sentence.
-
Does the server need to publish the mapping table for API-IDs and the endpoints? I guess not but it should be explicit.
-
-
There needs to be a mapping of API-ID's and API's. I will probably take out the API-ID's section and create its own paragraph before the Error Responses one. There I will create a list/ mapping.
-
I have implemented the feedback (hopefully). I have created a new paragraph for API-IDs which I think is better on the long run. The numbering has changed.
-
- changed status to resolved
@Nat has merged this into the draft. I believe I can resolve this ticket
-
-
assigned issue to
Please close this ticket
-
assigned issue to
- Log in to comment