Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have this query:
let
Bron = Oauth2_18Jan.Contents("https://start.exactonline.nl/api/v1/division/cashflow/Banks"),
#"XML-bestand geïmporteerd" = Xml.Tables(Bron,null,65001)
in
#"XML-bestand geïmporteerd"
When loading or refreshing, it gives me this error:
Waarde kan niet null zijn. Parameternaam: accessToken -> meaning value cannot be null. Parameter name: accessToken
Microsoft.Mashup.Evaluator.Interface.ErrorException: Waarde kan niet null zijn.
Microsoft.Mashup.Engine1.Runtime.Extensibility.ExtensionOAuthFactory.Provider.Microsoft.Mashup.OAuth.IOAuthProvider.Refresh(TokenCredential credential)
bij Microsoft.Mashup.Host.Document.OAuth.OAuthRegistrationService.Refresh(IResource resource, CredentialDataCollection previousCredential)
And the error goes on with this kind of message..
Any help on this?
Let me know if you need more info.
Solved! Go to Solution.
Hi @Arendp ,
the function you're using isn't a native M-function. So it might come from a custom connector. You have to contact the person that has created that connector and investigate whats wrong with the authentication.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Hi @Arendp ,
the function you're using isn't a native M-function. So it might come from a custom connector. You have to contact the person that has created that connector and investigate whats wrong with the authentication.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Thanks, I was missing something.... I know what to do now!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 8 | |
| 7 |