Forum Discussion
shreyag12
4 years agoRegular Visitor
Data Source Error Web Contents failed to fetch data from web api(AWS AppSync Graphql API)
Hi, I am trying to fetch data from AWS AppSync Graphql API in power BI . Providing these in headers [Headers=[#"Content-Type"="application/json", #"x-api-key"="xyz"]] let qContent = " ...
Anonymous
4 years agoNot applicable
Hi shreyag12 ,
I found some similar posts which might be helpful to you:
DataSource.Error: Web.Contents failed to get contents from (400): Bad Request
Post API Data Source body format issues
Azure Cost Management - RI Usage Details - 400 Bad Request
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
shreyag12
4 years agoRegular Visitor
Hi Anonymous Thanks for shaing!
I tried changing bContent = Text.ToBinary(pContent), to bContent = Json.FromValue(pContent) as mentioned in Post API Data Source body format issues but still getting the same error.