Skip to main content
Kyle_Joseph
May 3, 2024 3:38 PM UTC
Question

Figma not calling API Gateway preflight OPTIONS

Hello, are there any known issues with network requests to API Gateway, my setup is to allow all origins, and i can see the request being made in CloudWatch logs but I am not seeing the OPTIONS which needs to correspond with the request and in return I am getting a CORS error within my plugin.

this works within my terminal, but does not in Figma Plugin curl -X GET -H "Origin: null" https://mydomain/path

This topic has been closed for replies.

1 reply

Kyle_Joseph
May 14, 2024 9:55 AM UTC

The issue here was the fact API Gateway HTTP API does not accept origin null requests, you need to use API Gateway V1 Rest API.