Hi - I'm investigating using custom API with PowerApps. However, it's not clear how one should handle errors returned by API.
For example, suppose I have a 400 response returned by API due to malformed user input that requires correction on user's part.
When I try to run something that results in an error, from the user's POV, the button fades, then switches back on, with no other indication that something bad happened. If I switch to design view, I do see the yellow warning icon which only gives very generic "it returned a HTTP error".
I already tried using "Errors(MyCustomAPI)" or "Errors(MyTableAssignedByCustomAPI)" to collect the errors but neither are considered valid.
So, how do I actually collect information on errors and handle this within PowerApps? Must I return some error information in a 200 response (which would break the REST model)?