Check out the last post in this thread:
It seems like there are some caveats according to this thread:
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwiG7Zzn8s78AhVukYkEHRmSAG0QFnoECAQQAQ&url=https%3A%2F%2Fforum.bubble.io%2Ft%2Ferror-handling-in-api-workflows%2F13218%3Fpage%3D3&usg=AOvVaw2kGFvUWaHx2p44rb_LdDzq
But it seems like for your use case of 400 errors, this top link solution to do the trick