Forum Discussion

anon97242's avatar
anon97242
Icon for Advocate IV rankAdvocate IV
1 year ago
Solved

Web Connections have suddenly stopped working.

Hello! I have a web connection in a Dataflow that has suddenly stopped working. Within the data flow I get a message of "We could not evaluate this query due to invalid or missing credentials."  ...
  • anon97242's avatar
    anon97242
    1 year ago

    Thanks v-kpoloju-msft 

    After waiting overnight these seem to be working again so whatever session issue there was seems to have resolved itself. Would be greate if there was a "clear cache" mechanishm on the gateway.

    For others looking I did try the following suggestions:
    1)Re-enter or Update Credentials: Go to the Power BI Service > Manage Connections and Gateways. Locate your Web connection and choose Edit Credentials. Re-authenticate using the correct method (e.g., Anonymous, Basic, OAuth2, or API key). Sometimes, APIs that previously allowed anonymous access may begin requiring credentials, so it's worth double-checking. Was using anonymous, but this did not ever help. 

     

    2) Rebuilding connection to the same URL did not create a new connection in the gateway, as the SessionID problem persisted

     

    3) Check the Gateway Health and Connectivity: Since the error includes a reference to gateway-on prem, make sure: Your on-premises data gateway is online and up to date. It has network access to the Web URL. The gateway service is running without errors. You can restart the gateway service as a quick first step if you're unsure. Gateway was online and was able to access other URLs for the connection. Also verified the URL in question was live and was able to hit it from other machines