getting 401 when using DeveloperToken, ClientID and ClientSecret
Exception in thread "main" com.box.sdk.BoxAPIResponseException: The API returned an error code [401 | 8mjnitgs7wh247vb.0fdcbcc4b89140ba8ca9e49e98b93a0a9] unauthorized - Unauthorized - Cannot authorize with this service
at com.box.sdk.BoxAPIResponse.<init>(BoxAPIResponse.java:92)
at com.box.sdk.BoxJSONResponse.<init>(BoxJSONResponse.java:32)
at com.box.sdk.BoxAPIRequest.trySend(BoxAPIRequest.java:677)
at com.box.sdk.BoxAPIRequest.send(BoxAPIRequest.java:381)
at com.box.sdk.BoxAPIRequest.send(BoxAPIRequest.java:348)
at com.box.sdk.BoxUser.getCurrentUser(BoxUser.java:168)
at financing.tools.icfs.jffroutepdf.Main.main(Main.java:65)
I requested a developerToken, ClientID and ClientSecret and received this error. The authorization type is is there something else I needed to do?
サインインしてコメントを残してください。
コメント
2件のコメント