So, everything is failing with the exception of the ticker request and upon checking the exchange's API, it looks like that request doesn't require an API key:
https://apidocs.txbit.io/#public-gettickerIt's a public endpoint.
So as I've told you before, you're most likely not using the right API credentials from your account and that's why this error is being returned. Have you followed the steps explained here (from the link you posted):
https://github.com/groop30/TxBit-Trading/blob/main/README.md