Forum Academy Marketplace Showcase Pricing Features

API connect Action result 404 error and stops

Hi all,

I’m new to Bubble and I have setup a test for validating a email account via an API connect to Lightspeed ECOM. It works fine when you type a email address that can be fetched with API. But if you type a wrong email address the API returns an error 404. I know that is normal but how do I get the 404 error to work for me by telling on the screen that the email address typed in was wrong and not available in Lightspeed ECOM. I can’t find a way to make an output, that if the error appears, the app says you typed in a wrong address. The app just stops after the error.

This is the error.

This is the workflow.

This is the input.

Don’t know if my description is clear so if you have any questions please ask.

Thanks in advance, Dirk

normally error 404 mean the endpoint or end ressource doesn’t exist.
Check API Documentation to see if there’s not an API update

Hi @Jici,

That is right. There is no data the email address does not exist. This gives me a 404 error but I want to use that error to put something on the screen that the data asked for does not exist. Do you have an idea how to solve this?

Thanks for the info, apricate it for reading and sending a response.

Cheers Dirk

A WF in Bubble can be triggered when “an unhandled error occurs”. Use this trigger

Hi Jici,

Thanks for the info. It might be the solution. I’ll take a look at it and let you know.

Cheers Dirk.

1 Like