
Symfony HTTP Status Constant Response::HTTP_UNAUTHORIZED Go HTTP Status Constant http.StatusUnauthorized

If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user agent SHOULD present the enclosed representation to the user, since it usually contains relevant diagnostic information. The user agent MAY repeat the request with a new or replaced Authorization header field 2. If the request included authentication credentials, then the 401 response indicates that authorization has been refused for those credentials. The server generating a 401 response MUST send a WWW-Authenticate header field 1 containing at least one challenge applicable to the target resource.

This error typically occurs when authentication is not configured correctly between the Microsoft Dynamics NAV Web Server components (Microsoft Dynamics NAV Web client site on IIS) and Microsoft Dynamics NAV Server. You do not have permission to view this directory or page using the credentials that you supplied.

When you try to access the Microsoft Dynamics NAV Web client, you get the following error:Ĥ01 - Unauthorized: Access is denied due to invalid credentials.
