Skip to content

[Stripe Sync Engine] Rate limit flood & data loss on plugin upgrade #215

@zetttt

Description

@zetttt

When upgrading the Stripe Sync Engine plugin directly via the Supabase dashboard (after a recent fix for the prior Buffer is not defined"issue I encountered with this plugin), the sync process ran for over 10 minutes without completing. All data in the tables under the stripe schema was lost, with only the stripe.products table having been re-synced successfully during the stuck upgrade process.

I attempted to manually trigger the corresponding edge function to resolve the sync failure, but the remaining Stripe data still failed to sync correctly, and the incomplete data state persisted.

The issue was only fully resolved after I uninstalled the plugin and reinstalled it for the second time. Only after this second reinstallation did all data under the stripe schema sync completely and properly as expected.

However, upon checking the Postgres logs in the Supabase dashboard, I found that nearly 800 ERROR Rate limit exceeded for stripe entries were triggered within a 5-minute window during this process. This is unexpected, as my project is in Stripe test mode with an extremely small dataset (fewer than 10 total subscription records).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions