And when I click on the RED error logo, I get this message:
{“schemaValidationMessages”:[{“level”:“error”,“message”:“Can’t read from file /portal/apis/597a8c6083497f0001271667/documentation/raw”}]}
So it appears that the base path (https://xxx.cloud.tyk.io) is not being prepended to /portal/apis/597a8c6083497f0001271667/documentation/raw. Any idea why that would happen?
There doesn’t appear to be a CORS errror, but here is what I am seeing in the various tabs in the Chrome developer console:
In the Console tab, this message appears after navigating to the documentation page in the Tyk Developer Portal:
swagger not loaded yet (index):243
In the Source tab, this code appears when I click on (index):243
var isSwaggerJsonLoaded = function isSwaggerJsonLoaded() {
if(!!ui.spec().toJSON().resolved) {
**strong text**
getHost();
createHostField();
} else {
console.log('swagger not loaded yet'); // line 243
setTimeout(function () {isSwaggerJsonLoaded()},1000);
}
}
In the Network tab, it appears that the Request URL is not formed properly. The url parameter does not have the base address (https://xxx.cloud.tyk.io):