Refresh token has expired
Hi, im new on box. im having a error when trying to get info of a folder in Java.
Im trying like this:
String clientId = "clientId";
String clientSecret = "secret";
String accessToken = "accessToken";
String refreshToken = "refreshToken";
BoxAPIConnection api = new BoxAPIConnection(clientId, clientSecret, accessToken, refreshToken);
BoxFolder folder = new BoxFolder(api, "id");
Info info = folder.getInfo();
But the response is always the same, i've already change the refresh token a lot of times.
Exception in thread "main" com.box.sdk.BoxAPIException: The API returned an error code: 400
{"error":"invalid_grant","error_description":"Refresh token has expired"}
Can anyone help?
サインインしてコメントを残してください。
コメント
0件のコメント