This guide will be removed on April 29, 2022. Please use our new, easier-to-use Toast technical documentation site. All updated content is on the new site.

Error handling

There are a number of error states that can occur for each request.

  • No response from provider.

  • No response from the Toast platform.

  • Valid error transaction status.

  • Invalid response format.

  • Invalid response transaction status (provider threw an undefined error).

If any of these error states occur for a request, an error message appears below that request's button.