cancel
Showing results for 
Search instead for 
Did you mean: 

Detailed error messages with custom api in canvas app

Currently it is not possible within canvas apps to parse detailed error messages of a custom api (for example: "field x with value xy is no valid entry"). You are getting the response when you test the custom connector but when you call it from a canvas app you are getting an empty body.

You can only use IfError function (ref- Error, IfError, IsError, and IsBlankOrError functions in Power Apps - Power Apps | Microsoft Docs) to catch the error and get the error statuscode (for example statuscode: "400"). 

 

The idea is to extend the canvas app to parse detailed error messages of a custom api instead of an empty body. This means that more detailed errors can be displayed to the user and they help a lot in error analysis. 

 

 

Status: New