{"record":{"id":"ebf162586b9634a6","repo":"NousResearch/hermes-agent","slug":"resume-returned-no-session-id","errorCode":null,"errorMessage":"resume returned no session id","messagePattern":"resume returned no session id","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.ts","lineNumber":125,"sourceCode":"        // reading messages) without a profile lets the gateway fall back to the\n        // launch-profile DB and fork the conversation into the wrong profile —\n        // the same cross-profile bleed the recovery resumes had (#67603).\n        const profile = await resolveSessionProfile(storedSessionId)\n\n        const [prefetch, resumed] = await Promise.all([\n          getLatestSessionMessages(storedSessionId, profile).catch(() => null),\n          requestGateway<SessionResumeResponse>('session.resume', {\n            session_id: storedSessionId,\n            cols: 96,\n            omit_messages: true,\n            ...(profile ? { profile } : {})\n          })\n        ])\n\n        const runtimeId = resumed?.session_id\n\n        if (!runtimeId) {\n          throw new Error('resume returned no session id')\n        }\n\n        updateSessionState(\n          runtimeId,\n          state => ({\n            ...state,\n            busy: Boolean(resumed?.info?.running),\n            messages:\n              state.messages.length > 0 ? state.messages : toChatMessages(prefetch?.messages ?? resumed?.messages ?? [])\n          }),\n          storedSessionId\n        )\n\n        return runtimeId\n      },\n      submitToSession: async (runtimeId, text) => {\n        await withSessionNotFoundResume(\n          runtimeId,","sourceCodeStart":107,"sourceCodeEnd":143,"githubUrl":"https://github.com/NousResearch/hermes-agent/blob/c896c09c42910c584c4c7d2325b58c14713ea42c/apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.ts#L107-L143","documentation":"Error \"resume returned no session id\" thrown in NousResearch/hermes-agent.","triggerScenarios":"Thrown at apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.ts:125 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the resume; the gateway returned no session id, usually due to a transient disconnect.","Start a new session if the old one no longer exists on the backend.","Check gateway connectivity and confirm the session id still exists."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c896c09c42910c584c4c7d2325b58c14713ea42c","analyzedAt":"2026-08-14T17:18:01.089Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}