{"version":"2.1.333","anchor":"peer-message-send-handles-401-from-app-provided-sign-in-and","canonical_anchor":"peer-message-send-handles-401-from-app-provided-sign-in-and","heading":"Clearer error when a message to another session is refused at sign-in","tier":"notice","area":"Messaging","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/peer-message-send-handles-401-from-app-provided-sign-in-and","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Clearer error when a message to another session is refused at sign-in\n\nIf the service rejects the sign-in the app gave a session, sending a message to another session now gives a specific error instead of a generic one\n\n**What**\n\nA session can send messages to other Claude Code sessions. If the service refuses the sign-in that the Claude app gave this session (an HTTP 401 error, meaning the sign-in was not accepted), Claude Code now reports that plainly and says the message was not sent. It suggests trying again in a few minutes and, if it keeps failing, asking the user to sign in to the app again. Before, outside `CLAUDE_CODE_REMOTE` this case ended in a generic error.\n\nThe sending step also passes one more value along with the message in some cases.\n\n**Why**\n\nIf messaging another session fails because of sign-in, the error now says what went wrong and what to do about it.\n\n- Area: Messaging\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}