supabase / stripe-sync-engine

Sync your Stripe account to you Postgres database.
https://supabase.com
Apache License 2.0
496 stars 49 forks source link

Insert or update on table \"subscription_items\" violates foreign key constraint \"subscription_items_price_fkey #99

Closed ollebergkvist closed 6 months ago

ollebergkvist commented 11 months ago

Bug report

Describe the bug

Getting the error message below from customer.subscription.* events.

{ "statusCode": 500, "code": "23503", "error": "Internal Server Error", "message": "insert or update on table \"subscription_items\" violates foreign key constraint \"subscription_items_price_fkey\"" }

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

Additional context

Add any other context about the problem here.