You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
iOS Shortcut API key creation reads res.key instead of res.data.key, always yields undefined #1541
The mutation still "succeeds", so the user gets a modal with an empty key and a
clipboard copy that silently no-ops — no error surfaces. A key is created
server-side each time, so retrying leaks orphaned keys into the org.
TypeScript already flags this:
components/settings/integrations.tsx(155,15): error TS2339:
Property 'key' does not exist on type 'Data<{ key: string; ... }> | Error$1<...>'
Suggested fix
Match the Raycast mutation 20 lines below it:
if(!res.data?.key)thrownewError("API key missing from response")returnres.data.key
Activity
linear-code commentedon Aug 19, 2026
ENG-1199