shy-fish-88756
01/20/2023, 3:06 PM410
error, which is expected.
The issue is, I can't parse the json to SelfServiceFlowExpiredError
java model. I'm on version 1.1.4.
What I receive from kratos 0.11.1
{
"error": {
"id": "self_service_flow_expired",
"code": 410,
"status": "Gone",
"reason": "The self-service flow expired 23.89 minutes ago, initialize a new one.",
"message": "self-service flow expired"
},
"expired_at": "2023-01-20T14:20:44.163484771Z",
"since": 1433524887924,
"use_flow_id": "c88985c6-e4c3-40df-b3a7-a5b5c694f062"
}
Looking at the model, it expects a flat structure. Something like this
{
"id": "self_service_flow_expired",
"code": 410,
"status": "Gone",
"reason": "The self-service flow expired 23.89 minutes ago, initialize a new one.",
"message": "self-service flow expired",
"expired_at": "2023-01-20T14:20:44.163484771Z",
"since": 1433524887924,
"use_flow_id": "c88985c6-e4c3-40df-b3a7-a5b5c694f062"
}
Thanks!shy-fish-88756
01/20/2023, 3:06 PMerrorGeneric
, but on a previous paragraph it specifies that use_flow_id
can be present in the body, which is more aligned with the real response I getplain-lunch-50969
01/20/2023, 3:29 PMshy-fish-88756
01/23/2023, 8:01 AM