Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Error while refreshing data from custom connector since april update of Data Gateway

Since the april update of the Data Gateway my custom connector gives an error while refreshing data in de PBI Service. Updating from within PBI Desktop works fine. The custom connector is using oAuth for authentication with the external API.


The error is:

Exception of type 'Microsoft.Mashup.Engine.Interface.ResourceAccessAuthorizationException' was thrown.


Does anyone have an idea about how to solve this error?

Community Support
Community Support

Hi @Arie 


before the april update of the Data Gateway, does it work successfully for the scenario

(custom connector using oAuth for authentication with the external API) ?

You could roll back to an older version easier in case of issues/exceptions.



do you use On-premise gateway or personal gateway?

Check if you use in a proper way :

Use custom data connectors with the On-premises data gateway

Also check if the authentication used in Power BI Desktop is the same as in Service.



Do you create custom data connector for your data source in Power BI following the guide in this article?

Which connector do you select from Power BI Desktop?

From this article "API Strategies with Power BI", which kind of API do you use?


In addition, there is a similar problem sloved.


Best Regards


Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors