Skip to content

Commit 244c7da

Browse files
committed
Sign-out error says to sign in again in Chrome and run connect
1 parent 60e583c commit 244c7da

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎partiful_api_mcp/partiful/client.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async def id_token(ctx: ToolContext) -> tuple[str, str]:
5959
"""(uid, ID token) of the account. `AuthExpiredError` when the browser holds no usable Firebase session."""
6060
user = firebase_user(ctx)
6161
if user is None:
62-
raise AuthExpiredError("The app signed this account out. Reconnect it in the console.")
62+
raise AuthExpiredError("The app signed this account out. Sign in again in Chrome, then run connect.")
6363
uid, tokens = user["uid"], user["stsTokenManager"]
6464
key = (ctx.profile.browser_id, uid)
6565
now = time.time()
@@ -79,7 +79,7 @@ async def id_token(ctx: ToolContext) -> tuple[str, str]:
7979
answer = response.json()
8080
if response.status == 400:
8181
# INVALID_REFRESH_TOKEN, TOKEN_EXPIRED, USER_DISABLED, USER_NOT_FOUND: the session is over.
82-
raise AuthExpiredError("The app signed this account out. Reconnect it in the console.")
82+
raise AuthExpiredError("The app signed this account out. Sign in again in Chrome, then run connect.")
8383
if response.status != 200 or not answer.get("id_token"):
8484
raise ToolError("Partiful's sign-in service did not renew the session.", ErrorCode.TARGET_ERROR)
8585
token = answer["id_token"]

‎partiful_api_mcp/partiful/events.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Events and guests as the tools return them (recorded 21.10.2026, MAP.md).
1+
"""Events and guests as the tools return them (recorded 21.10.2026).
22
33
Partiful keeps start, end and RSVP deadline in UTC with the event's IANA zone next to them; a cloned event
44
has `startDate: "TBD"` until it gets a date. Guest statuses are Partiful's own, mapped to the catalog's

0 commit comments

Comments
 (0)