🐛 Bug Report: Unable to upload profile picture #324

Closed
opened 2025-10-09 16:39:53 +03:00 by OVERLORD · 2 comments
Owner

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!

Image

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

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! ![Image](https://github.com/user-attachments/assets/21071c87-bf27-4a31-8e44-d87fcc9deaf6) ### 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
OVERLORD added the bug label 2025-10-09 16:39:53 +03:00
Author
Owner

@stonith404 commented on GitHub:

Thanks, this should be fixed in v0.35.4.

@stonith404 commented on GitHub: Thanks, this should be fixed in `v0.35.4`.
Author
Owner

@UncleArya commented on GitHub:

Can confirm that v0.35.4 has indeed resolved the issue. Thank you!

@UncleArya commented on GitHub: Can confirm that `v0.35.4` has indeed resolved the issue. Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-2#324