Skip to main content

CORS problem when fetching from local app

  • September 7, 2022
  • 1 reply
  • 105 views

Forum|alt.badge.img+2

Hi Everyone!
I’m trying to create a webhook from a local app, but I always get a Error 400 response:

Access to XMLHttpRequest at 'https://hooks.airtable.com/workflows/v1/genericWebhook/mywebhookxxx' from origin 'https://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Does anybody know how I can prevent the cors error?
Many thanks in advance for any help! :bouquet:

1 reply

Forum|alt.badge.img+16
  • Inspiring
  • 529 replies
  • September 7, 2022

Hi @Kaj_Lehmann,
Are you using remoteFetchAsync?