🐛 Bug Report: Invalid UUID when deleting profile picture #634

Open
opened 2026-02-04 20:42:11 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @m1212e on GitHub (Jan 30, 2026).

Reproduction steps

I log in, move to profile and try to reset my profile picture.

     app=pocket-id
    version=2.2.0
    status=400
    method=GET
    path=/api/users/274503031579017220/profile-picture.png
    query=
    route=/api/users/:id/profile-picture.png
    ip=xx.xxx.xxx.xxx
    latency=148.641µs
    referer=https://auth.example.com/settings/account
    user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0
    body_size=24

Jan 30 09:10:06 WRN Request with errors: Error #01: Invalid UUID

    app=pocket-id
    version=2.2.0
    status=400
    method=DELETE
    path=/api/users/me/profile-picture
    query=
    route=/api/users/me/profile-picture
    ip=xx.xxx.xxx.xxx
    latency=2.808876ms
    referer=https://auth.example.com/settings/account
    user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0
    body_size=24

Jan 30 09:10:06 WRN Request with errors: Error #01: Invalid UUID

    app=pocket-id
    version=2.2.0
    status=400
    method=GET
    path=/api/users/274503031579017220/profile-picture.png
    query=
    route=/api/users/:id/profile-picture.png
    ip=xx.xxx.xxx.xxx
    latency=136.836µs
    referer=https://auth.example.com/settings/account
    user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0
    body_size=24

The affected accounts seem to not have a uuid id and are the oldest ones in my system

Expected behavior

It should work without errors

Actual Behavior

It shows an error message: Invalid UUID

Pocket ID Version

2.2.0

Database

sqlite

OS and Environment

fedora server -> docker behind traefik proxy

Log Output

No response

Originally created by @m1212e on GitHub (Jan 30, 2026). ### Reproduction steps I log in, move to profile and try to reset my profile picture. ``` app=pocket-id version=2.2.0 status=400 method=GET path=/api/users/274503031579017220/profile-picture.png query= route=/api/users/:id/profile-picture.png ip=xx.xxx.xxx.xxx latency=148.641µs referer=https://auth.example.com/settings/account user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0 body_size=24 Jan 30 09:10:06 WRN Request with errors: Error #01: Invalid UUID app=pocket-id version=2.2.0 status=400 method=DELETE path=/api/users/me/profile-picture query= route=/api/users/me/profile-picture ip=xx.xxx.xxx.xxx latency=2.808876ms referer=https://auth.example.com/settings/account user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0 body_size=24 Jan 30 09:10:06 WRN Request with errors: Error #01: Invalid UUID app=pocket-id version=2.2.0 status=400 method=GET path=/api/users/274503031579017220/profile-picture.png query= route=/api/users/:id/profile-picture.png ip=xx.xxx.xxx.xxx latency=136.836µs referer=https://auth.example.com/settings/account user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0 body_size=24 ``` The affected accounts seem to not have a uuid id and are the oldest ones in my system ### Expected behavior It should work without errors ### Actual Behavior It shows an error message: Invalid UUID ### Pocket ID Version 2.2.0 ### Database sqlite ### OS and Environment fedora server -> docker behind traefik proxy ### Log Output _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#634