--- title: "Access Denied Error Message When Deploying a Build" slug: "access-denied-error-message-when-deploying-a-build" description: "An 'Access denied' message is caused by the Client Secret in the License Manager not matching the one stored against the Server in the Config Portal." updated: 2024-06-17T15:02:28Z published: 2024-06-17T15:02:28Z canonical: "kb.lasernetgroup.com/access-denied-error-message-when-deploying-a-build" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # Access Denied Error Message When Deploying a Build You may receive an 'Access denied' message when deploying a Lasernet build., as follows: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1632836000939.png) This is normally caused by the **Client Secret** set in the License Manager not matching the one stored against the Server in the Config Portal. ## Solution To resolve this issue, follow these steps: 1. Open Lasernet License Manager and select the required instance from the list. 2. Click the **Edit** button and copy the **Client Secret**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1632836370876.png) 1. Open the Lasernet Config Portal and select the same instance from the list. 2. Click the **Edit** button and paste the **Client Secret** into the **Client secret** field. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-TWP2BU1A.png)