Forum Discussion
JoergSch
5 years agoFrequent Visitor
Gateway ODATA datasource creation via API
Hello, I am currently trying to create an OData datasource via the Gateway - Create Data source API (Gateways - Create Datasource (Power BI Power BI REST APIs) | Microsoft Docs). When I put i...
- 5 years ago
Thanks Xiaoxin,
I found the reason in the meantime. The parameter
"useEndUserOAuth2Credentials": false,
was missing. The error message was a little bit misleading.
Joerg
Anonymous
5 years agoNot applicable
Hi JoergSch,
If you not so sure these connection strings configured correctly.
You can try to directly config them on your gateway data source settings, then you can use the 'get Datasource' API to get the corresponding 'data source connections' as a referencce.
400 Bad Request - HTTP | MDN (mozilla.org)
Gateways - Create Datasource (Power BI Power BI REST APIs) | Microsoft Docs
Regards,
Xiaoxin Sheng