Closed Topandhi closed 3 months ago
Hello, what version of node_characterai are you using? Because it looks like you are using an outdated version of the package.
Thank you for the quick response! I was indeed using an outdated version of node_characterai (version 1.1.0). After updating to the latest version 1.2.7, the issue was resolved, and everything is working fine now. Thanks again for your help!
No problem. Feel free to open a new issue if you have a new problem or suggestions. Happy coding!
Description When attempting to authenticate using a token, the server returns an "Invalid Token" error. I tried using Postman to check the issue further, but encountered a 500 Internal Server Error. It seems that something may have changed in how tokens are handled.
Steps to Reproduce
Authenticate with a token: Receive "Token is invalid" error:
Add log to request variable on client.js and got internal server error 500:
Use Postman to check the token: Encounter 500 Internal Server Error:
Expected Behavior The token should be validated correctly, and the server should not return a 500 Internal Server Error.
Additional Context I suspect there may have been a recent change in how tokens are processed