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
Errors are returned as strings:
CKANJS API Error. HTTP code 409. Message: { "help": "http://localhost:5000/api/3/action/help_show?name=package_create", "success": false, "error": { "__type": "Validation Error", "id": [ "Dataset id already exists" ] } }
It would be helpful it they were returned as json object:
{ "status": 409, "message": { "help": "http://localhost:5000/api/3/action/help_show?name=package_create", "success": false, "error": { "__type": "Validation Error", "id": [ "Dataset id already exists" ] } } }
So one can easily check err.message.error.id
err.message.error.id
The text was updated successfully, but these errors were encountered:
Good suggestion though this will be a breaking change. Happy to get a patch and we should bump the version in it!
Sorry, something went wrong.
No branches or pull requests
Errors are returned as strings:
It would be helpful it they were returned as json object:
So one can easily check
err.message.error.id
The text was updated successfully, but these errors were encountered: