Hi
Thank you for your response.
As you mentioned I have removed the Authorization headers and added the username and password for basic authrnication under the Data source credentials in Power BI (Web). These creditals are checked and accepted without error.
In your previous message you mentioned "Still with Table.Buffer". As I am using Json.Document(Web.Contents(...)) so I used List.Buffer instead as Table.Buffer created an error. Example below. If I have misunderstood your implementation of Table.Buffer please let me know.
Source = List.Buffer(Json.Document(Web.Contents("https://api.url.com/")))
Once again this works perfectly in the Power BI Desktop but when published to Power BI (Web) I am still getting the refresh error as before.
I have noticed that Microsoft has reported Power BI as Service degraded with the following message.
Current Status: Engineers investigated reports that workbooks published to Power BI via the "Connect" option are failing to refresh and determined that a code regression is causing the problem. Engineers are currently developing a solution to remediate impact. Once the solution has been developed, it will be tested to ensure it fixes the problem and subsequently deployed throughout the affected environment.
I'm wondering if this has been the problem all along.
Thank you in advance for your assistance.