401 - Unauthorized: Access is denied due to invalid credentials.
Getting this error: You do not have permission to view this directory or page using the credentials that you supplied.
When moving the app to production, creating a new user to have the necessary Groups, and a Token for that User to be used in the API. I've tried it with an expiration date and without. With ByPass and without.
Nothing seems to work! I also submitted a request, not knowing which way is faster...
HELP!
G
-
Hi Gary,
It does appear your getting the 401 because in your Dev environment the Primary URL is the machine name but in production the Primary URL is not the machine name and instead the URL for your end users. When the API token is created it will use the Primary URL, the error log that you had shown on the screen was still calling out the machine name, unless that is changed to be the primary URL it will get the 401.
0
Please sign in to leave a comment.
Comments
1 comment