C API Script causes You Are not Authorized error on server based agents

Hi,

We are testing script code with a C API call to attach a file without compression to a notes document.

Code works fine on agents run locally, but fails as a server based (or HTTP thread) agent with a “You are not authorized” error.

The agent signer has all rights enabled at the server level and within the agent.

Any thoughts?

Thanks,

Jordan