Access token is not getting , In valid refresh token
Hi Support Team
I would like to inform you. I am getting issue on API calling. could you help me.
Errors
- Access token is not getting
- Invalid refresh token
Inspect error:
Access to XMLHttpRequest at 'https://www.box.com/api/oauth2/authorize?response_type=code&client_id=hzrzcznrzaeiczf32ym6zw1v4lbtpxbp&redirect_uri=https%3A%2F%2Fsecure.dunnmeadow.com%2Fuploads%2Fprocess_upload_new.php' (redirected from 'https://secure.dunnmeadow.com/uploads/process_upload_new.php') from origin 'https://secure.dunnmeadow.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Note:
- These issue occurring on my live site ( https://secure.dunnmeadow.com/ ) only and Site id hosted on EC2 amazon server
- I have tested on my local server and other server. It's working fine
- could you suggest what i can do.
-
My Account Detail is.
Client ID : hzrzcznrzaeiczf32ym6zw1v4lbtpxbp
Client Secret : fxdWjUvpigrHUJkW42eqj1idZroqPvAu
Redirect URI : https://secure.dunnmeadow.com/uploads/process_upload_new.php
Server Response is:
Box_API Object ( [client_id] => hzrzcznrzaeiczf32ym6zw1v4lbtpxbp [client_secret] => fxdWjUvpigrHUJkW42eqj1idZroqPvAu [redirect_uri] => https://secure.dunnmeadow.com/uploads/process_upload_new.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] => Invalid refresh token )
Please let me know. Why is not getting access_token with sub domain. same code working on other server
is it sub domain issue or other.?
サインインしてコメントを残してください。
コメント
1件のコメント