Hey all,
I have a button that triggers an API on my app.
When the API doesn’t return any data, there’s this error message that comes up:
I want to find a way to change this error message or at least remove it and have an alert show up instead.
Since this is not a Bubble system error, it’s not under the settings tab.
Would anyone know how else to fix this?
Thanks,
Mohamad
Hey @mateusproto
This is not a Bubble-handled error code, so I wouldn’t be able to find the error code for it in order to use this backend workflow.
Would you know a work around?
Thanks,
Mohamad
@alasadi.m1738
If the error is displayed after an element is clicked, you can use this kind of event I sent for you in the video to customize the error message.
No, Im saying each error has an error code. However, API errors don’t have error codes that you can use - so I’m not sure how to set this up for API errors
Please, check this also:
Hi everyone!
I’m excited to announce that we’ve just deployed several improvements to the API connector.
“Allow blank” option to parameters
There is now an “Allow blank” checkbox on API Call parameters. When this option is selected, the key value used to initialize the API Call will not be seen/accessible in the element or workflow property editor that is calling the API. This will allow Plugin or Bubble developers to optionally leave a default value in the API connector for initialization pu…
But anyway you will need to customize.
system
Closed
November 17, 2021, 8:57pm
9
This topic was automatically closed after 70 days. New replies are no longer allowed.