# HTTP 401 (Unauthorized)

<table><thead><tr><th width="205"></th><th></th></tr></thead><tbody><tr><td>Error</td><td>System Error Message: 401: Unauthorized</td></tr><tr><td>Where it appears</td><td>AppControl system logs</td></tr><tr><td>Problem</td><td>The <a href="../../overview/initial-set-up/appcontrol-user">AppControl user</a> does not have sufficient rights to the API that has been called.</td></tr><tr><td>Solution</td><td>The error message will contain the URL of the API that was called. Often this will contain the ID of the app or environment that was being managed. To resolve the issue cCheck the following:<br><br>1. Does the AppControl user have the correct PAT scopes?<br>2. Does the AppControl user have the correct environment rights?</td></tr></tbody></table>
