Forum Discussion

AUDISU's avatar
AUDISU
Icon for Resolver III rankResolver III
2 years ago

Data source credentials error in power bi service.

Dear Power BI experts,

I have a Power BI report that loads data from a GraphQL API, with an API key passed in the header for data access. It functions perfectly in Power BI Desktop. However, when I publish the report to Power BI Service, it prompts me to edit credentials, even though I only have the API key.

Could someone kindly assist me in resolving this issue?
Thanks
DS

2 Replies

  • arvindsingh802's avatar
    arvindsingh802
    Icon for Community Champion rankCommunity Champion

    While using the PassKey, please use authentication as Annonymos it will work.

    • AUDISU's avatar
      AUDISU
      Icon for Resolver III rankResolver III

      Hi arvindsingh802 ,
      Thank you for your message.
      In power bi desktop I used Annonymos and it is working.
      But in power bi service it does not work. Whan I try to connect as Annonymos, It shows me following error.
      "Failed to update data source credentials: Web.Contents failed to get contents from 'my api url' (400): Bad Request"
      Thanks