Forum Discussion
Power BI API parameters
The error indicates Power BI cannot find the Server and Database parameters. Here's how to fix it:
-
Validate Parameters: Check the dataset in Power BI Service under Settings > Parameters. Ensure Server and Database are defined and populated.
-
Verify in Power BI Desktop: Open the report, go to Transform Data > Manage Parameters, and ensure the Server and Database parameters are correctly configured and used in the data source.
-
API Parameter Binding: If using the REST API, confirm Server and Database are included in patchParameters or bindToGateway calls.
-
Gateway Configuration: Ensure the gateway is online and correctly mapped to the data source with these parameters.
-
Refresh and Test: Republish the report and refresh the dataset to validate the changes.
Ensure parameter names match exactly across all configurations.