Skip to content

Fix Google Sheets export errors#3

Merged
bradydibble merged 1 commit intomainfrom
claude/fix-sheets-export-error-PPxTw
Apr 7, 2026
Merged

Fix Google Sheets export errors#3
bradydibble merged 1 commit intomainfrom
claude/fix-sheets-export-error-PPxTw

Conversation

@bradydibble
Copy link
Copy Markdown
Owner

Summary

  • Fix "error undefined" display when export fails — SvelteKit's error() helper returns { message } not { error }, so the error message was never shown
  • Fix Sheets API 400 "Unable to parse range" — sheet names with spaces must be wrapped in single quotes in the range parameter (e.g. 'Tip History')

Test plan

  • Trigger an export error (e.g. missing spreadsheet ID) and confirm the actual error message is displayed instead of "Error: undefined"
  • Export to a sheet named "Tip History" (with a space) and confirm it succeeds

https://claude.ai/code/session_011LY1ZZDXKuvy13nZQpySZU

The Sheets API requires sheet names containing spaces to be wrapped
in single quotes in the range parameter (e.g. 'Tip History').

https://claude.ai/code/session_011LY1ZZDXKuvy13nZQpySZU
@bradydibble bradydibble merged commit 9a12834 into main Apr 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants