react-email-editor icon indicating copy to clipboard operation
react-email-editor copied to clipboard

upload image error cors

Open GogolevV opened this issue 2 years ago • 6 comments

Access to fetch at 'https://s3.amazonaws.com/unroll-images-production' from origin 'http://editor.unlayer.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.

GogolevV avatar Jun 03 '22 08:06 GogolevV

Hello Here. I'm having the same problem with angular-email-editor, but mine raise on https://s3.amazonaws.com/unlayer-assets-prod.

Any luck on this?

TechtozT avatar Jan 05 '23 12:01 TechtozT

Same on vue-email-editor. I am not sure if that will work properly when deployed on prod, but I want to have it tested first locally.

Vitomir2 avatar Feb 04 '23 08:02 Vitomir2

Any updates?

Jensxy avatar Apr 26 '23 22:04 Jensxy

@Jensxy I solved the issue by doing two things, the first one is important.

  1. Go to your unlayer dashboard and add/enable your domain to be allowed to use your unlayer subscription.
  2. If it does not work try to implement your own custom storage mechanism check here, as unlayer encourages users to use custom storage.

Hope this can help.

TechtozT avatar Apr 27 '23 06:04 TechtozT

@TechtozT your point no 1 saved me

jatinmourya avatar Sep 23 '23 10:09 jatinmourya

@jatinmourya glad it helped.

TechtozT avatar Sep 23 '23 19:09 TechtozT