Integration FAQ

Where can I see error messages?

There are two ways to see error messages:

  1. Within the OMS admin pages, from the menu system System > Message Log you will see all messages consumed and published with a label that indicates the level of error. By clicking on the link, more information will be displayed about the error, and the original message can be edited and resend manually.

  2. All 500 and 400 error types (for both sync and async messages) will publish a message with the topic magento.common.error_management.created. The message contains in the header the following information that can be used to filter the “type of errors”:

Field Example
x-error {“exception”:”Entity \u0027Bcn\Model\Sales\Entity\Order\u0027 with externalId \u002710000006023\u0027 not found”,”code”:null}
x-error-code 400
x-error-topic magento.sales.order_management.get_notifications

The payload of the error message contains the topic of the original message that generated the error, the message being the description of the error message and the payload being the original payload that caused the error.