Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Errors returned - eg. validation issues with information being updated ... are returned with an appropriate HTTP status code, with a standard structure;

Errors with specific fields;

{"error":true,"errors":{"sms_sender_id":["This value is too long. It should have 11 characters or less."]}}

Errors with both a generic form issue (eg. not related to a specific field which was submitted) & specific fields;

{"error":true,"errors":{"#":["Generic form error"], "sms_sender_id":["This value is too long. It should have 11 characters or less."]}}

Authentication issue;

{"error":true,"errors":{"#":"Not logged in"}}
  • No labels