mercredi 30 novembre 2016

Handling error from server in ember

When i try to handling the response from server, I cant able to read the error status and detail (i.e., those fields are empty)

Below i show my response what i am getting,

{
"message": "Ember Data Request POST http://ift.tt/2gwLxt0 returned a 0?Payload (Empty Content-Type)?",
"name": "Error",
"errors":
[
  {
  "detail": "",
  "status": "0",
  "title": "The backend responded with an error",
  }
],
"description":undefined,
"fileName":undefined
}

Why this fields are empty? what should i do to overcome this?




Aucun commentaire:

Enregistrer un commentaire