I am using JSONAPIAdapter in Ember Data, in case server wants to reject the request, server returns HTTP status code 400 Bad Request with json payload like this:
{"errors":[{"code":"698","title":"Invalid request"}]}
According to the jsonapi.org, I think this is the correct format( a array of error objects keyed by "errors" )
But when I run Ember, I always get a Adapter error. Is my format incorrect?
Aucun commentaire:
Enregistrer un commentaire