Categories
- All Categories
- 166 Oracle Analytics News
- 34 Oracle Analytics Videos
- 14.8K Oracle Analytics Forums
- 5.8K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 56 Oracle Analytics Trainings
- 13 Oracle Analytics Data Visualizations Challenge
- 4 Oracle Analytics Career
- 2 Oracle Analytics Industry
- Find Partners
- For Partners
Getting error while integrating reports with public HTML page

Content
getting this error on the html page display:
AJAX request failed during bootstrap. Request 'https://domain.analytics.ocp.oraclecloud.com:443/dv/ui/api/v1/sessioninfo/ext'; response:
in the chrome console, I am getting
Access to XMLHttpRequest at 'https://domain.analytics.ocp.oraclecloud.com/dv/ui/api/v1/sessioninfo/ext?stateId='; from origin 'http://127.0.0.1:8090'; has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Rest of the things looks okay, but I am unaware where to set/disable the CORS policy in the OAC console.
Answers
-
Hi Rahul,
Looks like your token is expired. Default expiry time for the token is 100 seconds. You need to increase the token lifetime. Please check out this thread for step-by-step debug process.
https://cloudcustomerconnect.oracle.com/posts/0b267dc94c
Feel free to reach out if this doesn't work out.
Regards,
Neeti
0 -
Thanks Neetu for taking time to reply, I have already gone through your previous reply before posting this thread, so before testing I always download the latest token with 1000 min as expiry, still no luck.
0 -
Hi Rahul,
Can you please share the output of the token generation? Also, please share the script where you have passed the token for authentication.
0 -
Sample output should look like this-
Sample -
{“access_token”:”...<token shortened>...”,”token_type”:”Bearer”,”expires_in”:100}0