Error: Grant credentials are invalid
I have created a Client Grant type application in our company Box application.
When trying to connect to it, I am getting following error:
The API returned an error [BadRequest] invalid_grant - Grant credentials are invalid.
Dim boxConfig = New BoxConfigBuilder("clientid", "secretcode").Build() Dim boxCCG = New BoxCCGAuth(boxConfig) Dim userToken = Await boxCCG.UserTokenAsync("userid") '; //valid for 60 minutes so should be cached and re-used Dim userClient As IBoxClient = boxCCG.UserClient(userToken, "userid") Dim accesstoken = userClient.Auth.Session.AccessToken
Please sign in to leave a comment.