<p><a href="https://github.com/craftcms/cms/tree/master-v2/src/services/UserSessionService.php#L325" rel="nofollow noreferrer">https://github.com/craftcms/cms/tree/master-v2/src/services/UserSessionService.php#L325</a></p>

<p>The error is thrown when you don't have the permission to change/do something. Your file permissions do not matter it is about the permissions in craft. Are you not admin? Could you tell us if you are a normal user and don't have certain permissions? Maybe another member of your team changed something? </p>

<p>Do you have any plugins installed that have any hooks/events? 
Do you have the latest Craft version? </p>

CC BY-SA 3.0
2017-12-12T09:16:20.950Z
Thanks Robin. I'm the only admin and I only have a handful of plugins, with only Hill Holliday's "Documentation" plugin going anywhere near permissions. Feel like it might be an environment issue of sorts, since my local copy (on MAMP) is just fine.
Ian Ebden
CC BY-SA 3.0
2017-12-11T21:13:49.240Z
2018-02-21T23:45:21.560Z
2018-02-21T23:45:21.560Z
Robin Schambach
<p>Recently, when I edit categories or entries I get the dreaded "An unknown error occurred." When I check the logs I see:</p>

<pre><code>2017/12/11 20:41:51 [error] [exception.Craft\HttpException.403] Craft\HttpException in /srv/users/serverpilot/apps/0default/craft/app/services/UserSessionService.php:329
</code></pre>

<p>Not quite sure where to go from there. 403 makes it look like a permissions issue but my permissions are all setup just like I normally have them (744). Anyone got any ideas?</p>

<error>
Help debugging "An unknown error occurred."
# Help debugging "An unknown error occurred."

(Asked by: username_0 on 2017-12-11)

Recently, when I edit categories or entries I get the dreaded "An unknown error occurred." When I check the logs I see:
2017/12/11 20:41:51 [error] [exception.Craft\HttpException.403] Craft\HttpException in /srv/users/serverpilot/apps/0default/craft/app/services/UserSessionService.php:329

Not quite sure where to go from there. 403 makes it look like a permissions issue but my permissions are all setup just like I normally have them (744). Anyone got any ideas?

**Tags:** error


---

## 1 answers

### Answer by username_1 on 2017-12-11. Score: 1

<https://github.com/craftcms/cms/tree/master-v2/src/services/UserSessionService.php#L325>

The error is thrown when you don't have the permission to change/do something. Your file permissions do not matter it is about the permissions in craft. Are you not admin? Could you tell us if you are a normal user and don't have certain permissions? Maybe another member of your team changed something?

Do you have any plugins installed that have any hooks/events?
Do you have the latest Craft version?

> **Comments:**
> **username_0**: Thanks Robin. I'm the only admin and I only have a handful of plugins, with only Hill Holliday's "Documentation" plugin going anywhere near permissions. Feel like it might be an environment issue of sorts, since my local copy (on MAMP) is just fine.  

---

