-
Notifications
You must be signed in to change notification settings - Fork 12
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
csrf queue new build error #24
Comments
Same issue here. |
Hi! Try it:
|
I had the same 403 status code with TC 2022.04 when I was just trying to set a parameter on a project. Read-only operations worked fine, but I ran into this problem every time I tried to change something in the configuration.
This suggestion worked fine, but (probably obviously) only when I was logged in with my password and not with an access token. As suggested in #37 (which seems to be a duplicate of this issue) I think the library should handle this with some options at least. The official TeamCity documentation suggests token based authentication for non-browser HTTP clients: I have the same problem even if I authenticate using a token. |
When I tried to use this code:
I got error:
The text was updated successfully, but these errors were encountered: