You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We added two new params to the body - error_message, and error_code. These are null unless the message failed and was marked with an error code and error message.
Note
Some RELAY messages may have an error_message, but not an error_code. The error_code is a newer pattern that is not used in all RELAY areas.
Why?
This information is available in the LaML API, but not this endpoint, which is the only way for RELAY messages to be viewed. We want to give our customers easy visibility into their messages, and transparency about what went wrong.
Request Kind
We would like to update the serialized body in the
api/messaging/logsendpoint.https://signalwire.com/docs/apis/rest/message-logs/get-message-log
https://signalwire.com/docs/apis/rest/message-logs/list-message-logs
What changed?
We added two new params to the body -
error_message, anderror_code. These are null unless the message failed and was marked with an error code and error message.Note
Some RELAY messages may have an
error_message, but not anerror_code. Theerror_codeis a newer pattern that is not used in all RELAY areas.Why?
This information is available in the LaML API, but not this endpoint, which is the only way for RELAY messages to be viewed. We want to give our customers easy visibility into their messages, and transparency about what went wrong.
Examples
LaML Message
LaML codes/messages will use the error schema documented in https://signalwire.com/docs/compatibility-api/rest/error-codes
Relay Message