Question

Fetch API giving CORS

  • 7 June 2021
  • 1 reply
  • 327 views

Badge

Access to fetch at 'https://a.klaviyo.com/api/v1/person/01F783RFPYYKETHTXE5GAWB3R1?api_key=[Moderator_Redacted]' from origin 'https://marvelworldstores.myshopify.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

 

i AM GETTING THID ERROR 

while fetching profile data


1 reply

Userlevel 6
Badge +5

Hello @guptaanjali538,

Thank you for sharing your question with the Klaviyo Community.

This topic was addressed by another staff member in the thread below:

And we have another thread with a couple of other solutions to try here as well:

Please do let us know if the neither of the following threads assists with addressing the error.

Thanks and have a wonderful day.

Reply