#Problems with the session.json file. Unable to restore the session after restarting the server. Any
6 messages · Page 1 of 1 (latest)
The auth is stored as chrome data dir right? How you did that?
When I authenticate with QR, I store the session data in my database, but I need the session.json that whatsapp-web.js saved when I authenticated. However, it is not being saved due to the update, and I can no longer restore the sessions after restarting the server.
{
"table": "whatsapp_sessions",
"rows":
[
{
"id": 12,
"session_id": "ws_session_1_1_sharba",
"client_info": "{"pushname":"VITRAL STORE","wid":{"server":"c.us","user":"535593985892","_serialized":"[email protected]"},"me":{"server":"c.us","user":"595388359592","_serialized":"[email protected]"},"platform":"smba"}",
"whatsapp_tokens": "{"clientId":"ws_session_1_1_sharba","phone":"583593958592","platform":"smba","pushname":"VITRAL STORE","status":"ready","_source":"session_tracking","_capturedAt":"2026-01-22T16:36:50.535Z","_note":"Tokens manejados internamente por WhatsApp Web"}",
"status": "ready",
"sucursal_id": 1,
"created_at": "2026-01-22 11:36:12",
"updated_at": "2026-01-22 11:36:50"
}
]
}
This is how it manages storage to restore the session, but whatsapp-web.js is no longer giving me the session.json file.