Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New issue came up While uploading file to box.net #33

Open
Chitranshabhi opened this issue Jan 4, 2021 · 1 comment
Open

New issue came up While uploading file to box.net #33

Chitranshabhi opened this issue Jan 4, 2021 · 1 comment

Comments

@Chitranshabhi
Copy link

Chitranshabhi commented Jan 4, 2021

Hi I am uploading a file using this API. But, below issue is coming up, that refresh token and " The grant type is unauthorized for this client_id" , Can somebody help in this immediately. If possible.

Response:

Box_API Object
(
    [client_id] => 29qpde6m0vgkspf6tfr2sysx9hlrkysb
    [client_secret] => 8ycgbw4gaZbz1yqUP3o4KJSQklgA2Jr2
    [redirect_uri] => http://localhost/test/file_upload1/example.php
    [access_token] => 
    [refresh_token] => B7kPCoU7KkPlMWHjRM1sgI8x8gOuLTU4rwJZgrhVoXujV28caJAisF4FGhgsNo4t
    [authorize_url] => https://www.box.com/api/oauth2/authorize
    [token_url] => https://www.box.com/api/oauth2/token
    [api_url] => https://api.box.com/2.0
    [upload_url] => https://upload.box.com/api/2.0
    [error_message] => The grant type is unauthorized for this client_id
    [response_status] => 
    [asUser] => 


![image](https://user-images.githubusercontent.com/47568751/103513841-6e23da80-4e91-11eb-946d-019da95cbbf0.png) ..
@Chitranshabhi
Copy link
Author

Chitranshabhi commented Jan 4, 2021

Hi I am uploading a file using this API. But, below issue is coming up, that "Access token" is blank and "The grant type is unauthorized for this client_id" showing in "error _message", Can somebody help in this immediately. If possible.

Response:

Box_API Object
(
[client_id] => 29qpde6m0vgkspf6tfr2sysx9hlrkysb
[client_secret] => 8ycgbw4gaZbz1yqUP3o4KJSQklgA2Jr2
[redirect_uri] => http://localhost/test/file_upload1/example.php
[access_token] =>
[refresh_token] => B7kPCoU7KkPlMWHjRM1sgI8x8gOuLTU4rwJZgrhVoXujV28caJAisF4FGhgsNo4t
[authorize_url] => https://www.box.com/api/oauth2/authorize
[token_url] => https://www.box.com/api/oauth2/token
[api_url] => https://api.box.com/2.0
[upload_url] => https://upload.box.com/api/2.0
[error_message] => The grant type is unauthorized for this client_id
[response_status] =>
[asUser] =>

image .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant