Skip to main content

Hoping someone can help and point me in the right direction

Using the .Net SDK using the Access and Refresh Token authentication and when the token expires (via the HttpRequestHandler 401 status code) and the SDK calls the RetryExpiredTokenRequest I get a Bad Request error. If I refresh the tokens outside of the SDK, the code authenticates correctly with no errors. What am I doing wrong?

Any help would be greatly appreciated

Thanks

Hi! ✋


Do you mind sending me a copy of the code you are running and the client id for your application?


Thanks,

Alex, Box Developer Advocate 🥑


Alex,

I was able to refresh the token once my service account was authorized and updated to allow enablement. I missed that step in the documentation

Thanks for the help

Nick


Reply