Forum Discussion
REST API BindToGateway returning 200OK but not using passed data source?
We are doing all of the above, with the exception of the fact that on some of the datasources, the casing of the database name in the parameters is different from the casing of the database name in the connection details. On one of my test workspaces I've been able to reliably rebind the datasets regardless of the casing of the database name in the dataset parameters vs the datasource connection details, but in the other test database with the same scenario I'm reliably unable to properly rebind.
If this is a case of gateway association potentially failing if the cases don't match, then is there a way to update the connection details of a datasource after it has been created? The only endpoint I can find that looks like it can modify an existing datasource is Gateways - Update Datasource, and that looks like it's specifically for updating the credential details, not connection details.
Please let me know your thoughts on this, thank you!
Hi clehnert,
If you’ve already verified that the dataset parameters and gateway datasource connection details are an exact match including case and formatting but the BindToGateway API still returns a 200 OK without updating the association, this issue may need to be checked on the backend. I recommend opening a Microsoft support ticket for further investigation.
You can submit a support request here:
Create a Fabric and Power BI Support Ticket - Power BI | Microsoft Learn
Thank you.