Forum Discussion
Gateway public key size problem
Got the same problem last week while setting up a new gateway.
Found updated code example in https://github.com/microsoft/PowerBI-CSharp/tree/master/sdk/PowerBI.Api/Extensions/V2
Not had time to fully qualify, but initial tests did not show this code making any difference
The error went away, but additional errors occurred on the gateway with other operations as a result
I've not had time to check into it exactly, but wondering did this fix the problem for you?
- PeterPetkov6 years agoFrequent Visitor
My problem is solved. But in addition to new AsymmetricKeyEncryptor code, i've updated the Microsoft.PowerBI.Api NuGet package to 2.14 and Enterprise Gateway is the latest 3000.27.30 (February 2020) release
P.S.
The link from my previous comment is not working. Code is moved one level up
https://github.com/microsoft/PowerBI-CSharp/tree/master/sdk/PowerBI.Api/Extensions/