Skip to main content

Error Message Handling in External APIs

In this video tutorial you will understand how to handle error messages in External APIs.

1. Receiving an Error Message

Let's say if you enter incorrect details in the form and Submit it; this action will create a Success message to collection but an Error message to the external API (Airtable, in this example).

DrapCode Builder Font Family

2. Error Message in Logs

Go to your logs and scroll to view the error message of the above action.

DrapCode Builder Font Family

3. Copy the Error Message

You can copy the error message to decode it better.

DrapCode Builder Font Family

4. Paste the Error Message

Go to External API and in Error Handling paste the error message to display to your user and Save Settings.

DrapCode Builder Font Family

5. Test the Settings

Re-fill the form with some incorrect details. This time it will show a Success message for collection and display the Error Message.

DrapCode Builder Font Family

6. Displaying Multiple Error Messages

Similarly, you can add multiple error message in Error Handling of the external API and Save Settings for different types of errors.

DrapCode Builder Font Family