-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Since update from 0.21.4 getting "Invalid Payload: Error: Request failed with status code 400" #4367
Comments
I just noticed. |
Caused by #2880 |
@Shaquu Is this fixed? I had similar issues with 0.24.0 and 0.25.0. How did you fix this? |
@vojvodics For some reason I had few lines of code generating length header manually. If you still have that problem and you have a steps etc I could help to debug. |
Thanks for offering help, I'll try to make a reproduction repo |
Describe the bug
Since I updated from 0.21.4 I am getting rejections from my UniFi server.
As an axios client, I receive
Invalid Payload: Error: Request failed with status code 400
On the server, I see
[https] 4ms 404 POST /auth/login SyntaxError: Unexpected end of JSON input
I have compared 0.21.4 request log to 0.24.0 and nothing has changed.
To Reproduce
To reproduce you need UDM machine and node-red node installed https://github.com/NRCHKB/node-red-contrib-unifi-os/tree/0.5.3
Axios.interceptors.request.use(config => console.log(config))
Expected behavior
It should work :)
Environment
Additional context/Screenshots
nah
The text was updated successfully, but these errors were encountered: