Greg Corey
02/27/2026, 10:04 PMWarning from destination: 500 Internal Server Error PUT... An internal error occurred and the request could not be completed. This is usually caused by a transient issue. Retrying the job with back-off as described in the BigQuery SLA should solve the problemkapa.ai
02/27/2026, 10:04 PMGreg Corey
02/27/2026, 10:24 PMkapa.ai
02/27/2026, 10:24 PMCOPY INTO to load data into BigQuery. [Terraform docs] This is the recommended approach for large data volumes.
Known Issues with GCS Staging on Large Syncs
However, GCS Staging is not without its own problems for large, long-running syncs:
• Authentication token expiry: The "invalid euc header" (End-User Credentials) error during resumable uploads suggests authentication tokens may expire during long-running operations, causing retries that restart from the same position without committing checkpoints. [GitHub issue]
• Sync stuck in retry loop: Checkpoints may flush internally but not persist to the connection state, meaning the sync keeps retrying from the same cursor position. [GitHub issue]
• Performance bottleneck: Only ~2–4 CPU cores are utilized during GCS staging loads, making it slow for large datasets. [GitHub issue]
Recommendation
If you're currently on Batched Standard Inserts, switching to GCS Staging is the right first step for large Klaviyo data. However, be aware that GCS Staging has its own open issues with long-running syncs, particularly around token expiry and checkpoint persistence. The knowledge sources do not contain a definitive fix for the persistent 500 error in your specific scenario beyond these known issues. 👍 0 button 👎 0 button ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.