Skip to main content

Hello. I’m developing a Figma plugin to export designs to applitools. This it the manifest:

{
"name": "Applitools Plugin",
"id": "1011412324421890620",
"api": "1.0.0",
"main": "plugin.js",
"ui": "ui.html",
"editorType": [
"figjam",
"figma"
],
"networkAccess": {
"allowedDomains": [
"*.applitools.com"
]
}
}

and I see this in the console when I try to load the plugin’s manifest:


Manifest error: Invalid value for allowedDomains. '*.applitools.com' must include a scheme, such as https://.
 

but according to the documentation (https://www.figma.com/plugin-docs/manifest/#networkaccess) the manifest is valid.

I want to resolve CORS issue which currently I do using cors-anywhere on herokuapp, but this isn’t something I want to keep for several reasons. I’m using the applitools JS images sdk internally to communicate with applitools, which uses XMLHttpRequest internally. I wrapped it using “monkey-patch” to “proxy” the requests to Figma’s fetch command and tried setting the “networkAccess” and then it didn’t load.

Any suggestions?

I had this issue Monday when AWS was down and I’m having it again today, I think the AWS issue is preventing external vendors from loading and not related to my plugin. It’s been running fine for two months until this week.


Hi there,

 

I’ve shared this post with the relevant team to get their input. I’ll share an update here once I learn more!

 

Thanks,