Failed to load API definition

when i try open the Swagger API i am getting an error saying Failed to load API definition ,

Errors

Fetch error
Failed to fetch https://api.1inch.io/swagger/ethereum-json
Fetch error
Possible cross-origin (CORS) issue? The URL origin (https://api.1inch.io) does not match the page (https://docs.1inch.io). Check the server returns the correct ‘Access-Control-Allow-*’ headers.

how can i fix this?

How are you trying to open https://api.1inch.io/swagger/ethereum-json from docs.inch.io ?

Have you tried opening the swagger URL in browser directly?

This is how i am opening it

i am not using a phone

It seems to be opening for me without any cors error :thinking:

Do you have any extensions that could block this?

Try opening in incognito

i still have this erro, i dont know why maybe it is not available in my country

Try reaching out to 1Inch technical support. :raised_hands:

Ok thank you for the help

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.