-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add precision for Error message #44
Comments
403 is "Forbidden", this better suites a case when an API client does not have a consent to request SimSwap data. |
@gregory1g Thanks - it helps ! |
Isn't it a scenario that could happen in all CAMARA APIs? |
yes, 404 is semantically better. the only issue is - 404 is designed for restful APIs, where the resource is represented by the URI, 404 could have some technical consequences as well, for example according to RFC (https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.4) it is cacheable by default - exactly this one is not relevant for POST, but still. |
@gregory1g if we send the specific message with 404 : The argument for cacheable data is not relevant there, correct ? but I guess this relevant in other discussion we have abour POST or GET. |
agree, this looks like is a good-enough option. |
Added UTC Precision (camaraproject#43) + Error Message (camaraproject#44 (comment))
Thanks @gregory1g |
Team meeting decision June 15/06 |
Problem description
We are a bit vague on some error message - we probably need to be more explicit - like for OTP.
Possible evolution
Add more error definition:
@monamok @DT-DawidWroblewski WDYT ?
The text was updated successfully, but these errors were encountered: