Skip to main content
Question

Figma not calling API Gateway preflight OPTIONS

  • May 3, 2024
  • 1 reply
  • 145 views

Kyle_Joseph

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.

Kyle_Joseph

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings