Error: Grant credentials are invalid
Hi,
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.
VB code:
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
Post is closed for comments.
Comments
1 comment