Kinetic Function 401 - Unauthorized: Access is denied due to invalid credentials

I have a custom library /function defined for a button triggered in Purchase Order Entry, and I’m getting the following error when I try to execute it. This error is ONLY occurring in the LIVE environment.

I’m wondering what could cause this. I have a few linq queries on different tables tied to the Db object and I am triggering a System Report with the POFormSvcContract Business Object.

I would very much love some insight if anyone has it.

Are you multi company? Make sure it’s enabled for all companies.

Check all of the tabs in function maintenance. There are a bunch of things that could be blocking it.

Thanks Brandon! There’s only one company. I’m afraid that’s not the issue. It would appear everything is identical to my pilot setup for this client, and live is still blocking it while pilot is not.

Is Pilot on a separate server than Live?

If not, is your cert valid on live? Can you hit your function with Postman WITH credential checking on?

Thanks Mark. I’m looking into these. Perhaps the cert is the issue.