Open longhotsummer opened 3 years ago
For future reference I'm leaving here a screenshot how I'm debugging the API
I did a small improvement here to expose the underlying error when API call fails.
Looks like you have made some progress here, Cristian. Here's the error message we get:
{"jsonapi":{"version":"1.0","meta":{"links":{"self":{"href":"http:\/\/jsonapi.org\/format\/1.0\/"}}}},"errors":[{"title":"Unprocessable Entity","status":"422","detail":"Unprocessable Entity: validation failed.","links":{"via":{"href":"http:\/\/lawlibrary.org.za\/akn\/za\/act\/gn\/2013\/921\/eng@2013-11-29"}}}]}
@longhotsummer do you think it would be possible to add this to one of the instances so we can have more details about the underlying error?
Sure, Roger can assist. I'll follow up in slack.
The server returns: 422 Client Error: Unprocessable Entity for url: https://lawlibrary.org.za/akn/za-nc/act/p/2012/2/eng@2012-03-28