Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello,
I am trying to add a new Auth2.0 API datasouce to my BI report, however I keep getting an error message says "We encountered an erro while trying to connect" "Details: "Web.Contents failed to get contents from 'https://aisegypt.powerschool.com/ws/schema/query/com.esol.essamx.googleworkspace.students/' (405): "
Attached some screenshots from the error and configuration I am using.
Could you please advise ?
Solved! Go to Solution.
I figured out by passing a blank content. 😀
Content = Text.ToBinary("")Thanks for everyone.
I figured out by passing a blank content. 😀
Content = Text.ToBinary("")Thanks for everyone.
Specifying POST won't help you . You need to provide a payload to switch the request from GET to POST.
Which method does your API expect?
It does expect POST method. kindly find belowall the details for preload.
POST https://YOURSERVER/ws/schema/query/com.mycompany.mydivision.student.studentnumber Accept: application/json Content-Type: application/json Authorization: Bearer xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Read about how to use the Content option in Web.Contents()
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |