-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
error=DeleteAsset, 400 Bad Request on latest RC v0.23.0-RC3 #570
Comments
second this. I face the same issue. |
same here |
Let me just add a bit more to replicate the issue. edit. edit.
|
Thank for your report! The RC code is a complete refactoring... So it's difficult to compare it with the latest release. I need a way to trigger the problem on my dev system. |
Just setting up Immich for the first time. Got server running. Manually imported a few photos. Grabbed RC3 of Immich-go as its looking like its near release may as well go for it. I got the same error as above. Went back to 22.1 and appears to be working. Very slow.. But that is likely a setup issue. More troubleshooting (but unrelated). |
The problem isn't systematic. So far I haven't found a way to narrow down the problem. |
I am mid import on 22.1. Once it is done I will spin up a new instance and try again with RC3 as suggested. |
I have released a version rc5.... |
Re-ran RC3 that I had the error with to confirm it was still and issue.. Error occurred as above. Ran RC5 and it appears to resolve the issue (its not done the import yet but well past what RC3 would make it to). If I notice anything overnight as it runs I will update. |
Delete asset fails from times to times. It would simplify my code... Let see how it goes. |
It did fail. running again with api-trace edit - deleted the screen shot. noticed it had Lat/Long in it. |
This drives me nuts |
No problem at all. I am out most of today but will poke where I can. |
What the api-trace do? Its further now then I have seen it with the two versions of the RC that I have run. Still a long ways to go though. (5% on uploading) |
the API-TRACE creates a file with all call to the server, with exact parameters and server response. This give more context to the error. |
Got ya. Well.. Still running. 6% now. Out for the day so likely tomorrow before I can advise much. |
Wellllll... RC5 failed first go round, then went all the way once I put in the API-TRACE. I should be around the computer a bunch tomorrow if there is any testing I can do for you.
|
Just press enter at the end. The full path is printed on the screen.
|
Whats the best way to get you this 200mb file in a no public setting? I would rather not share the GPS data.
|
I went through and manually carved out the GPS fixes... See attached. Also note.. If its of benefit we could arrange a remote desktop session for you..
|
Still not the API trace: π
But I think the BAD request comes when you have a version of an image already on the server, but in lower quality than the one just updated. I'm trying the replicate this exact case.
why not? I'll contact if I need more information |
Thought I had it enabled... immich-go-rc5.exe --server=http://192.168.1.3:8080 --manage-burst StackKeepRaw --manage-raw-jpeg KeepRaw -k --api-trace -k hwK74RR3JhED1PDG7G7o3cnwidsmlfWIEYmp5tI7I upload from-google-photos ./takeout-**.zip I have tried a bunch of variations of it but cannot get it to enable api-trace -k --api-trace Sorry I am struggling a bit with the syntax of command... edit Got it working.. Thought I needed the -k in there.. I don't.. MB
|
With much fan fair I figured it out :-) Might I recommend that the logs and api-trace be sanitized for this purpose. Manually removing and lat/long from each proved to be a fair bit of work for my feeble brain. Regex and all to delete stuff.. It hurts now! Side note thanks for your work. I have what I need but don't mind helping out to track this down.
|
Also getting some bad stack errors as well.. Might be worth another thread? 2025-01-03 21:16:46 INF Stacked file=takeout-02:Takeout/Google Photos/Family & friends(1)/IMG_20140725_162011-edited(2).jpg api 2025-01-03T21:16:46-05:00 RESPONSE 273002 AddAssetToAlbum PUT http://192.168.1.3:8080/api/albums/d586e5bd-a851-4bd9-97f7-6b40bfa1897e/assets 2025-01-03T21:16:46-05:00 QUERY 273003 DeleteAsset DELETE http://192.168.1.3:8080/api/assets 2025-01-03T21:16:46-05:00 QUERY 273004 createStack POST http://192.168.1.3:8080/api/stacks |
A big thank you! ππΌ A few comments:
We can continue the discussion on discord @simulot |
I was away from my server for the holidays and wasn't able to troubleshoot with you, but I just ran the same command on the original files that I submitted the issue about and now everything works! |
Thanks for this report. Glad to see it is working. How the amazon photo export is? I'm wondering if information in the export that worth the effort to make a special import? |
when using the latest release candidate "@simulot simulot
v0.23.0-RC3
cbba865
immich-go v0.23.0-RC3 ποΈ user feedback included ποΈ
I get the following error after some time of uploading. Interestingly although the stream of data about upload progress stops in cmd, when canceled and resumed, it seems like it makes a bit of extra progress after an error, but my servers network usage shows as stopping shortly after the error occurs. When restarted the error does not occur on the same asset, but reoccurs later
2024-12-18 14:53:24 ERR error error=DeleteAsset, DELETE, http://192.168.1.10:30041/api/assets, 400 Bad Request
Im running Windows, immich version v1.122.2 in docker on truenas scale
my command:
.\immich-go upload from-google-photos --server=http://192.168.1.10:30041 --api-key=redactedI .\takeout-20241216T005834Z --dry-run=true
Log file:
https://share.archibald.top/s/rQG8KoPSuXTTecn8MDNEUPIUOIPgFvz3
this link expires in one week
The text was updated successfully, but these errors were encountered: