twilio-labs/plugin-message-media

CORS error when sending media message

gabeoliveira opened this issue · 0 comments

When trying to send a media message from Flex, I'm getting a CORS error.

Access to fetch at 'https://message-media-5067-dev.twil.io/send-media-message' from origin 'https://flex.twilio.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.