Forum Discussion

jakubkral's avatar
jakubkral
Frequent Visitor
1 day ago

Power BI API Parameters error - ActionNotSupported

Hello,

I have a problem with report and updating parameters. I'm developing the reports and our developers team have simple task - updating query parameters and usually it works and they are making it the same way for all the other reports, but this one is just not working.

So where is the problem now? We are deploying our reports to our company application (through PowerBI service) and in the report there are parameters for database (server and database) wich is different for every customer. And sometimes we need some more parameters and I have problems with them now.

Error reason (little bit anonymized):

Updating parameters for dataset: Report
One or more errors occurred. ({
"code": "InvalidRequest",
"message": "Dataset parameter at position 3 is invalid in 9d5357cc-4569-4422-a1db-b050ea2908ca. Reason: ActionNotSupported",
"target": "9d5357cc-4569-4422-a1db-b050ea2908ca"
})
At C:\anonymizedPath
+ Receive-Job -Job $j | Out-Null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.PowerB...kePowerBIRestMethod:InvokePowerBIRestMethod) [Invoke-PowerBIRestMethod], AggregateException
+ FullyQualifiedErrorId : One or more errors occurred. ({
"code": "InvalidRequest",
"message": "Dataset parameter at position 3 is invalid in 9d5357cc-4569-4422-a1db-b050ea2908ca. Reason: ActionNotSupported",
"target": "9d5357cc-4569-4422-a1db-b050ea2908ca"
}),Microsoft.PowerBI.Commands.Profile.InvokePowerBIRestMethod
+ PSComputerName : localhost

Can anyone tell what does this error mean? Before you suggest that the parameters needs to be text and checked enable load....we already tried that.

Here is some output when we tried to call GET if the API at least sees the parameters in the report.

DatasetName         DatasetId                          Name            Type   IsRequired    CurrentValue
Report b5a73e30-111b-4c21-8688-19c083ee21de Server Text True devap…
Report b5a73e30-111b-4c21-8688-19c083ee21de Database Text True repor…
Report b5a73e30-111b-4c21-8688-19c083ee21de EntityID Text True Bom,C…
Report b5a73e30-111b-4c21-8688-19c083ee21de EntityURL Text True bom,c…
Report b5a73e30-111b-4c21-8688-19c083ee21de StaticURL Text True https…
Report b5a73e30-111b-4c21-8688-19c083ee21de URL fixed part1 Text True /repo…
Report b5a73e30-111b-4c21-8688-19c083ee21de URL fixed part2 Text True ?curr…
Report b5a73e30-111b-4c21-8688-19c083ee21de URL fixed part3 Text True &**bleep**…
Report b5a73e30-111b-4c21-8688-19c083ee21de FileNameOverview Text True DQM_L…
Report b5a73e30-111b-4c21-8688-19c083ee21de FileNameSummary Text True DQM_L…

I hope that anyone can help me with that and tell me where is the problem. I can provide some more information if needed. Thank you all in advance for any response.

Best regards, JK

No RepliesBe the first to reply