Network request failed error in api calling
Copy link to clipboard
Copied
I am using below code for calling some external api in our plugin and getting error: Network request failed
Anyone kindly help to sort out this isue.
*********mainfeest.json***********
Copy link to clipboard
Copied
Not really sure how to help on this one
Maybe check the URL is ok - sometimes small typos can cause issues - I was writing a script the other day for illustrator to target a note called 'Folder' and I accendiatlly typed the note in Illustrator as Folder with a paragraph return - I had to write a catch alert in the script to identify why it wasn't working - and it returned the error.
I'm guessing the protocol matches the domain in manifest.json.
Can you check for CORS errors and server permissions?
Maybe security policies?

