Forum Discussion
lnel
6 years agoNew Member
API Call Credentials Invalid
Hi, I suddenly have a 'The credentials are invalid' error for my various API calls to 2 different systems via an API key. Everything was working fine for weeks. If I try to edit the credentials,...
- 6 years ago
I managed to solve it! The datasources stopped trying to login "Anonymous" and were now on "Basic" mode.
After I tried your suggestion I actually got a different error:
The 'X-SmartToken' header is only supported when connecting anonymously. These headers can be used with all authentication types: Accept, Accept-Charset, Accept-Encoding, Accept-Language, Cache-Control, Content-Type, If-Modified-Since, Prefer, Range, Referer
Based on this error, I found the solution here: https://community.powerbi.com/t5/Desktop/Remote-API-Access-to-data-source-sudden-errors/td-p/627973Thanks!
GilbertQ
Super User
6 years agoHi there
It would appear from what you are saying that there might be an issue with the credentials.
What happens if you try and query the API with the Key using Postman, is it successful?
It would appear from what you are saying that there might be an issue with the credentials.
What happens if you try and query the API with the Key using Postman, is it successful?