Forum Discussion
Error when trying to change PowerBI report parameters with the API
I have tested the call to the API using Postman as well with the same error as a result.
So it seems like a bug or is there any setting in the Power BI Report server which I need to set that the API can accept swedish caracters?
Hi, ssce
Is the type of the parameter text? If the problem can be resolved by changing into universal characters, it should not support Swedish characters. Thanks.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- ssce5 years agoFrequent Visitor
Hi,
Yes the parameter is text. Can you suggest a code fragment how to change the text to universal characters and how to post it to the RestAPI?
Thx.Stefan
- v-janeyg-msft5 years ago
Community Support
Hi, ssce
If it is a incompatibility problem, it is difficult to change, but we can change ourselves. The most direct and quick way is to change server name which doesn't contain incompatible characters.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- ssce5 years agoFrequent Visitor
It is working fine when the parameter is set when uploaded directly from Power BI Desktop. It seems like it is a bug within the RestAPI.
I can work around the issue in this situtation but I can imagine that this is not always possible to do that.