RequestAuthorizationError: '401: Authorization Failed'

LabKey Support Forum (Inactive)
RequestAuthorizationError: '401: Authorization Failed' Jon (LabKey DevOps)  2017-06-12 21:36
Status: Closed
 
Hello,

The context_path is only used if you are actually using it.

For example, I would use it if my URL that I was hitting was https://www.labkey.org/labkey.

But since I'm not using a context path, my site operates as https://www.labkey.org instead.

This would make my home project under https://www.labkey.org/home, rather than https://www.labkey.org/labkey/home.

I tried your actual code, but I'm running into an error that's unrelated to the problem you're seeing.

Can you try my code, tweak it out with your specific info along with the context path, and see if you get the same 401?

Regards,

Jon