listen_session_ended
HTTP 410 · code: "listen_session_ended" · type: https://docs.formfeed.dev/errors/listen-session-ended
The formfeed listen session is gone: the CLI was stopped or stayed disconnected until its lease of about two minutes ran out, a new session of the same key or member replaced it, or someone ended it in the app or with DELETE /webhooks/listen/{id}.
Example
{
"type": "https://docs.formfeed.dev/errors/listen-session-ended",
"title": "Listen session ended",
"status": 410,
"detail": "The listen session has ended",
"code": "listen_session_ended",
"request_id": "req_4b7c1e9a2f3d4c5b8a6e7f9012"
}
Common causes
formfeed webhooks resendorPOST /webhooks/events/{id}/resendwith the id of a session that has stopped.- A second
formfeed listenwith the same key or login, which ends the first one. - The session was ended on the Webhooks page of the app.
Deliveries Formfeed still had for the session end with this status too, and are not retried. While a session lives but no CLI is connected, its deliveries wait and are retried instead.
How to fix it
- Start
formfeed listenagain. With the same API key the new session keeps the signing secret, so your local server needs no change. - Send the event to the new session. See Develop webhooks locally.
Retry?
No. The session does not come back; start a new one.