# "View Preview" not working in documentation site

**URL:** <https://forums.concretecms.org/t/view-preview-not-working-in-documentation-site/786>\
**Category:** Site Feedback\
**Created:** [August 17, 2021, 2:02pm UTC](https://forums.concretecms.org/t/view-preview-not-working-in-documentation-site/786 "2021-08-17T14:02:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlocati](https://forums.concretecms.org/user_avatar/forums.concretecms.org/mlocati/32/6208_2.png) [@mlocati](https://forums.concretecms.org/u/mlocati)\
**Post date:** [August 17, 2021, 2:02pm UTC](https://forums.concretecms.org/t/view-preview-not-working-in-documentation-site/786/1 "2021-08-17T14:02:32Z")

</div>

I tried to edit [a doc page](https://documentation.concretecms.org/tutorials/add-developers-get-your-add-ons-ready-concrete-cms-90), and when I hit the “Preview” button, we have a server call like this:

```
https://documentation.concretecms.org/ccm/system/block/action/edit_composer/<number>/Main/<number>/preview

```

The server responds with a 500 error code, and this contents:

```json
{"error":{"message":"Access Denied"},"errors":["Access Denied"]}

```

---

<div class="post-metadata">

**Author:** ![jessicadunbar](https://forums.concretecms.org/user_avatar/forums.concretecms.org/jessicadunbar/32/4320_2.png) [@jessicadunbar](https://forums.concretecms.org/u/jessicadunbar)\
**Post date:** [August 17, 2021, 7:58pm UTC](https://forums.concretecms.org/t/view-preview-not-working-in-documentation-site/786/2 "2021-08-17T19:58:15Z")

</div>

@mlocati thank you for letting us know. I wasn’t able to reproduce with my account, so this is most likey a permissions issue. I’ll try again with a test account and create a ticket.  
Thanks  
Jess

---

<div class="post-metadata">

**Author:** ![mlocati](https://forums.concretecms.org/user_avatar/forums.concretecms.org/mlocati/32/6208_2.png) [@mlocati](https://forums.concretecms.org/u/mlocati)\
**Post date:** [August 17, 2021, 9:37pm UTC](https://forums.concretecms.org/t/view-preview-not-working-in-documentation-site/786/3 "2021-08-17T21:37:38Z")

</div>

@jessicadunbar great!  
Please note that I was able to return to the Edit mode and save my changes, so I’m pretty sure I haven’t been logged out.

---

<div class="post-metadata">

**Author:** ![Myq](https://forums.concretecms.org/user_avatar/forums.concretecms.org/myq/32/4281_2.png) [@Myq](https://forums.concretecms.org/u/Myq)\
**Post date:** [September 9, 2021, 6:31am UTC](https://forums.concretecms.org/t/view-preview-not-working-in-documentation-site/786/4 "2021-09-09T06:31:01Z")

</div>

There was an issue with the WAF blocking some requests that have a lot of PHP code in them. That has been fixed now. I checked the preview on that page and it seems to work now. Let me know if you ever run into this issue again.
