# 403 Error when I try to edit a post

**URL:** <https://meta.discourse.org/t/403-error-when-i-try-to-edit-a-post/44131>\
**Category:** Support\
**Created:** [May 12, 2016, 4:36pm UTC](https://meta.discourse.org/t/403-error-when-i-try-to-edit-a-post/44131 "2016-05-12T16:36:42Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_McGing](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/james_mcging/32/121787_2.png) [@James\_McGing](https://meta.discourse.org/u/James_McGing)\
**Post date:** [May 12, 2016, 4:36pm UTC](https://meta.discourse.org/t/403-error-when-i-try-to-edit-a-post/44131/1 "2016-05-12T16:36:42Z")

</div>

We use Discourse very successfully as our outward facing forum. I am one of users that posts a lot of new messages. Recently (it is currently May 2016) I have found that I am getting a 403 message whenever I try to publish posts with included images or try to edit those posts to add an image.

 ![](https://global.discourse-cdn.com/meta/original/3X/9/5/95d260d221ac3b67117152eff3fedd746d73fc91.png)

At first I thought that the problem was with the links on a page as I can create a post if I leave out the images but then today it allowed me to post with an image embedded.

I use Snaggit to take a screen shot and copy paste the image into the post editor. I use an up to date Chrome. Discourse hosts the forum for us and I always accept the message saying to you want to use the latest version.

Anyone else come across this?

Thanks  
James

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [May 12, 2016, 10:14pm UTC](https://meta.discourse.org/t/403-error-when-i-try-to-edit-a-post/44131/2 "2016-05-12T22:14:01Z")

</div>

What do you see in the `/logs` in your web browser, when logged in as admin?

---

<div class="post-metadata">

**Author:** ![James\_McGing](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/james_mcging/32/121787_2.png) [@James\_McGing](https://meta.discourse.org/u/James_McGing)\
**Post date:** [May 13, 2016, 8:21am UTC](https://meta.discourse.org/t/403-error-when-i-try-to-edit-a-post/44131/3 "2016-05-13T08:21:49Z")

</div>

Jeff

thanks for getting back. I went in again this morning to load the images into the posts with a view to watching the logs at the same time. However this time the images loaded and the post saved with out an issue.

I then looked at the logs in the console. I can’t see anything in the time frame that I was editing the posts. Here is a screenshot.

 ![](https://global.discourse-cdn.com/meta/original/3X/a/b/abdfff0329e80c4c05b11207055fe15bf6cbb3af.png)

If it starts happening again I’ll update the post.

James

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [May 13, 2016, 9:53am UTC](https://meta.discourse.org/t/403-error-when-i-try-to-edit-a-post/44131/4 "2016-05-13T09:53:05Z")

</div>

I see this was on a hosted instance. That’s a different topic. @sam can we look in the logs here?

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [May 13, 2016, 9:53am UTC](https://meta.discourse.org/t/403-error-when-i-try-to-edit-a-post/44131/5 "2016-05-13T09:53:09Z")

</div>



---

<div class="post-metadata">

**Author:** ![James\_McGing](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/james_mcging/32/121787_2.png) [@James\_McGing](https://meta.discourse.org/u/James_McGing)\
**Post date:** [May 16, 2016, 4:07pm UTC](https://meta.discourse.org/t/403-error-when-i-try-to-edit-a-post/44131/6 "2016-05-16T16:07:39Z")

</div>

Jeff or Sam

this issue has re-occurred today. I got a 403 when trying to change the category a post was located in. This time I took a screen shot of the console. Hopefully that will give you an idea where to look.

 ![](https://global.discourse-cdn.com/meta/original/3X/c/6/c69cf8e46b75a5190e7e79c884069ea2abc42fea.png)

When this happened I went to the /logs page in the admin section and got a blank screen. This is the console for the /log page.

Sorry new users can only put one image per post.

James

---

<div class="post-metadata">

**Author:** ![James\_McGing](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/james_mcging/32/121787_2.png) [@James\_McGing](https://meta.discourse.org/u/James_McGing)\
**Post date:** [May 16, 2016, 4:08pm UTC](https://meta.discourse.org/t/403-error-when-i-try-to-edit-a-post/44131/7 "2016-05-16T16:08:22Z")

</div>

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

Image of console when I went to the /log page.

Grrr trying to reply too quickly

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [May 16, 2016, 10:18pm UTC](https://meta.discourse.org/t/403-error-when-i-try-to-edit-a-post/44131/8 "2016-05-16T22:18:24Z")

</div>

Sure, @techapj can you have a look at this?

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [May 17, 2016, 8:29am UTC](https://meta.discourse.org/t/403-error-when-i-try-to-edit-a-post/44131/12 "2016-05-17T08:29:35Z")

</div>

Is there a reason you are running through cloudflare as opposed to pointing DNS directly at us? In general we only support these kind of reverse proxy setups for enterprise customers because they are very fiddly to get right.

---

<div class="post-metadata">

**Author:** ![James\_McGing](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/james_mcging/32/121787_2.png) [@James\_McGing](https://meta.discourse.org/u/James_McGing)\
**Post date:** [May 17, 2016, 11:44am UTC](https://meta.discourse.org/t/403-error-when-i-try-to-edit-a-post/44131/13 "2016-05-17T11:44:05Z")

</div>

Thanks Sam for the insight.

We have made a modification to skip the Cloudflare for the forum.

James
