I am clicking on a button on my Home Screen and I get the error message below after it goes to the PartsScreen. It seems like everything is working but I always get that error the first time I press the button. The error only appears when accessing the app from the browser, not when running it from developer.
Here is the contents of the OnSelect for the button...
ClearCollect( coll_binLocations, '[dbo].[view_UCI]' // SQL Server View with 10 columns and approx 15 records ); ClearCollect( coll_binLocations_sub, '[dbo].[view_UCIsub]' // SQL Server View with 10 columns and 5 records ); Navigate( PartsScreen, ScreenTransition.Cover, {PartCat: "A-Plane"} // Variable used to populate a gallery with a SP List as datasource. Approx. 30 records. )
Here is the contents of the OnVisible for the PartsScreen...
UpdateContext({SliderReset: true}); UpdateContext({SliderReset: false})
ERROR
An error occurred on the server. Server Response: Not a valid connector response. returning message as is: { "error": { "code": 502, "source": "msmanaged-na.azure-apim.net", "clientRequestId": "688a8059-068a-47b3-a172-8a7be00e04f2", "message": "BadGateway", "innerError": { "status": 502, "message": "Unexpected Exception : [0]Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.RuntimeCheckFailedException: Internal error: gatewayAndUserInfo\r\n Template...
Anyone have any idea what might be causing this?
Thanks!
As I mentioned, it doesn't happen in Developer.
Try to go In the "View" tab -> "Data Source" and refresh the data to see if it works.
If not, delete it and add it again.
WarrenBelz
146,651
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional