error occurred when checking operation from API Explorer

Document ID : KB000120395
Last Modified Date : 08/11/2018
Show Technical Document Details
Issue:
Called api from API Explorer. 
But the following error is shown. 
[SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.] 
This problem only occurs in API Explorer. 
If api is called with curl, the problem does not occur.
Environment:
API Potral 4.2
Resolution:
This behavior is expected. For security reason, the portal api explorer doesn't allow the cross-origin request, 
and the Cross-Origin Resource Sharing (CORS) is disabled for api-explorer. 

Workaround: open another tab, paste the Token Endpoint on the bottom left of the page.
Once it's been executed in the new tab, come back to the previous tab and re-submit the request(and it should be working fine now).