mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:53:00 +03:00
🐛 Bug Report: Unable to upload profile picture #321
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @UncleArya on GitHub.
Reproduction steps
Hey there! I just updated to v0.35.3 and I was testing out the new profile picture feature and I seem to be coming across an error uploading anything. I receive a pop-up message saying "Something went wrong". A preview of the image appears after uploading, but when refreshing it returns to the default with no image. I am not sure what I have set up incorrectly. I checked that my docker volume for Pocket ID is not set to root. I am able to upload and change images for the app icon and background. I tried with PNG and JPEG of small and large file sizes. No urgent issue at all, just curious what I have set up wrong. Thanks for such a great app!
Expected behavior
Uploading a PNG or JPEG image should apply to a user account.
Actual Behavior
An error occurs and no image gets uploaded.
Version and Environment
v0.35.3
Log Output
[GIN] 2025/03/01 - 18:36:01 | 200 | 6.295623ms | 172.71.147.60 | GET "/api/webauthn/login/start"
[GIN] 2025/03/01 - 18:36:01 | 200 | 6.337009ms | 172.71.147.60 | GET "/api/webauthn/login/start"
[GIN] 2025/03/01 - 18:36:03 | 200 | 9.907154ms | 172.71.147.60 | POST "/api/webauthn/login/finish"
[GIN] 2025/03/01 - 18:36:03 | 200 | 9.944203ms | 172.71.147.60 | POST "/api/webauthn/login/finish"
[GIN] 2025/03/01 - 18:36:03 | 200 | 851.098µs | ::1 | GET "/api/users/me"
[GIN] 2025/03/01 - 18:36:03 | 200 | 890.516µs | ::1 | GET "/api/users/me"
[GIN] 2025/03/01 - 18:36:03 | 200 | 673.196µs | ::1 | GET "/api/webauthn/credentials"
[GIN] 2025/03/01 - 18:36:03 | 200 | 706.868µs | ::1 | GET "/api/webauthn/credentials"
[GIN] 2025/03/01 - 18:36:07 | 500 | 506.443822ms | 172.71.147.60 | PUT "/api/users/me/profile-picture"
Error #01: Invalid UUID
[GIN] 2025/03/01 - 18:36:07 | 500 | 506.514006ms | 172.71.147.60 | PUT "/api/users/me/profile-picture"
Error #01: Invalid UUID
@stonith404 commented on GitHub:
Thanks, this should be fixed in
v0.35.4.@UncleArya commented on GitHub:
Can confirm that
v0.35.4has indeed resolved the issue. Thank you!