We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have noticed that sometimes error payloads are generated as follows:
"type": "http://example.org/ngsi-ld/errors/ResourceNotFound"
Error payloads "type" member shall always contain ETSI-defined URIs:
The text was updated successfully, but these errors were encountered:
Yeah, not sometimes, more like always. This is how the conversion to error string is implemented:
// ----------------------------------------------------------------------------- // // errorTypeStringV - // static const char* errorTypeStringV[] = { "http://example.org/ngsi-ld/errors/InvalidRequest", "http://example.org/ngsi-ld/errors/BadRequestData", "http://example.org/ngsi-ld/errors/AlreadyExists", "http://example.org/ngsi-ld/errors/OperationNotSupported", "http://example.org/ngsi-ld/errors/ResourceNotFound", "http://example.org/ngsi-ld/errors/InternalError" };
Seems like there's been a change in the spec. Not a problem, very easy to fix.
Sorry, something went wrong.
Fixed issue #22 - etsi uris in error types
ec8501e
Fixed in ec8501e
kzangeli
No branches or pull requests
I have noticed that sometimes error payloads are generated as follows:
Error payloads "type" member shall always contain ETSI-defined URIs:
The text was updated successfully, but these errors were encountered: