Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidAccessToken error #174

Open
thier001 opened this issue Sep 29, 2022 · 3 comments
Open

InvalidAccessToken error #174

thier001 opened this issue Sep 29, 2022 · 3 comments

Comments

@thier001
Copy link

Hi, i use to work with this great package .The webapi request with theauthorize-guest cmd was working but now i am facing an error . I try to send a post request with postman , i get alternatively api.err.LoginRequired and api.err.InvalidAccessToken when i add username and password .

@andrew-codes
Copy link

Creating a controller, logging in, and then using the authorizeGuest method gives me an error with data: { message: 'Invalid CSRF Token' }. I had been using this successfully for some unknown period of time; not sure when it began breaking. I have updated to v2.2.0 when getting the above error message.

Let me know if you need any more details, I'm happy to provide what I am able. Thanks!

@ideen1
Copy link

ideen1 commented Mar 13, 2023

@andrew-codes @thier001 I have this same issue, did you guys find a solution?

@jens-maus
Copy link
Owner

Is this ticket/problem still valid and does this problem still happen? If so, please provide example source code on the node-unifi use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants