Forum Discussion

qburke's avatar
qburke
New Member
5 years ago

Operation returned an invalid status code '421'

Encountering exception in GenerateTokenInGroup and this is only happening from AustraliaEast and working as expected from EastAsia and CentralUs

 

var generateTokenRequestParameters = new GenerateTokenRequest(accessLevel: "view");
var tokenResponse = client.Reports.GenerateTokenInGroup(groupId, reportId, generateTokenRequestParameters);

 

I am wondering what's wrong. It's the same code that is working from 2 data centers and not from the other. Anyone who has encountered this exception: Operation returned an invalid status code '421' ?