Session does not exist
Hello, everyone!
After recent upgrade from v2 to v4 we're encountering an issue with session create.
Self-hosted, custom UI
Sometimes, with the same input data the return of POST /v2/sessions is not what expected.
Expected:
{
"session": {
"id": "348115167990513907",
"creationDate": "2025-11-24T12:53:30.819570Z",
"changeDate": "2025-11-24T12:53:30.819570Z",
"sequence": "4",
"factors": {
"user": {
"verifiedAt": "2025-11-24T12:53:29.300498Z",
"id": "341984803094003805",
"loginName": "e2e.dev.admin@example.com",
"displayName": "string string",
"organizationId": "341879155270352989"
},
"password": {
"verifiedAt": "2025-11-24T12:53:30.816428Z"
}
}
}
}
Every once in a while (Session does not exist):
{
"sessionCheck": {
"code": 5,
"message": "Session existiert nicht (QUERY-SFeaa)",
"details": [
{
"@type": "type.googleapis.com\/zitadel.v1.ErrorDetail",
"id": "QUERY-SFeaa",
"message": "Session existiert nicht"
}
]
},
"session": {
"details": {
"sequence": "4",
"changeDate": "2025-11-21T14:17:44.065130Z",
"resourceOwner": "292742729107002748"
},
"sessionId": "347688781387693940",
"sessionToken": "sU2ZFDgOS9B1BFXL5CwFxq4l_havtrCtOp2ll7ILfe-8B35akFW-2_H1D2aXqKrPXkoV1AmlsDYjGA"
}
}
This issue is hard to reproduce as it appears randomly. Please, help
Thank you!
After recent upgrade from v2 to v4 we're encountering an issue with session create.
Self-hosted, custom UI
Sometimes, with the same input data the return of POST /v2/sessions is not what expected.
Expected:
{
"session": {
"id": "348115167990513907",
"creationDate": "2025-11-24T12:53:30.819570Z",
"changeDate": "2025-11-24T12:53:30.819570Z",
"sequence": "4",
"factors": {
"user": {
"verifiedAt": "2025-11-24T12:53:29.300498Z",
"id": "341984803094003805",
"loginName": "e2e.dev.admin@example.com",
"displayName": "string string",
"organizationId": "341879155270352989"
},
"password": {
"verifiedAt": "2025-11-24T12:53:30.816428Z"
}
}
}
}
Every once in a while (Session does not exist):
{
"sessionCheck": {
"code": 5,
"message": "Session existiert nicht (QUERY-SFeaa)",
"details": [
{
"@type": "type.googleapis.com\/zitadel.v1.ErrorDetail",
"id": "QUERY-SFeaa",
"message": "Session existiert nicht"
}
]
},
"session": {
"details": {
"sequence": "4",
"changeDate": "2025-11-21T14:17:44.065130Z",
"resourceOwner": "292742729107002748"
},
"sessionId": "347688781387693940",
"sessionToken": "sU2ZFDgOS9B1BFXL5CwFxq4l_havtrCtOp2ll7ILfe-8B35akFW-2_H1D2aXqKrPXkoV1AmlsDYjGA"
}
}
This issue is hard to reproduce as it appears randomly. Please, help