# ImgFlip: Adding a meme easily

**URL:** <https://meta.discourse.org/t/imgflip-adding-a-meme-easily/34050>\
**Category:** Plugin\
**Tags:** broken\
**Created:** [Outubro 2, 2015, 4:03pm UTC](https://meta.discourse.org/t/imgflip-adding-a-meme-easily/34050 "2015-10-02T16:03:48Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![bletch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bletch/32/69088_2.png) [@bletch](https://meta.discourse.org/u/bletch)\
**Post date:** [Fevereiro 19, 2019, 9:51am UTC](https://meta.discourse.org/t/imgflip-adding-a-meme-easily/34050/20 "2019-02-19T09:51:06Z")

</div>

# CORS policy failure error

I think there is another problem here, @cpradio .

~~I was previously running your `force-http` branch and whilst chasing down another but on the forum I thought I move to the master branch.~~ This is misleading, I’ve reverted to the `force-https` branch and the issue is still there.

Our users are now reporting that they can’t insert memes. Looking at the browser console I see this error.

`Access to XMLHttpRequest at 'https://api.imgflip.com/caption_image?username=imgflip_hubot&password=imgflip_hubot&template_id=87743020&text0=Work?&text1=Fail?' from origin 'https://sandbox.cpradio.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.`

### Steps to reproduce

I am able to reproduce this on your sandbox at …

[https://sandbox.cpradio.org/t/imgflip-plugin-example/54](https://sandbox.cpradio.org/t/imgflip-plugin-example/54)

…where I simply tried to insert a meme and got the error above. Screen shot of the actual console error…

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/3/03c8de7d861e77d3ee7ef9e863ff2377812f2772.png)

### Environment

I’m running the very latest tests-passed version of Discourse [v2.3.0.beta2 +129](https://github.com/discourse/discourse/compare/15fd8758557dda0f4ddbfcfc8dab71f7f872832a...tests-passed).

I’m using Chrome Version 72.0.3626.96 (Official Build) (64-bit) on Linux - but I’ve also tested on Firefox and the same the problem occurs.

Please let me know if you need any more information.

---

_[View the full topic](https://meta.discourse.org/t/imgflip-adding-a-meme-easily/34050)._
