Transaction.end generating 401 error

We have coding that closes the current transaction and creates another. The transaction.end() generates a 401 error: Can't do handshake and publish version of .

Is there any ownership or rights to a transaction that need to be accounted for?

Hi @dantoomey,

I assume that you are invoking trasnaction.end() on one of the Elastic APM agents. Can you share which agent (language) you are using and share your code please?

Thanks for responding. We are using Java.

Unfortunately, the 401 came about by another simoultaneous task and not from elastic. Sorry