Skip to content

query vault failed #594

@TheCarpetMerchant

Description

@TheCarpetMerchant

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

After following the stripe integration docs, I get to the step where I need to run
import foreign schema stripe from server stripe_server into stripe;

This fails with Error: Failed to run sql query: ERROR: HV000: query vault failed "<uuid>": SpiTupleTable positioned before the start or after the end DETAIL: Wrappers

I have tried multiple solutions outlined in other, closed issues, including :

  • Verifying the secret name (tried stripe, stripe_wrapper_api_key_id)
  • Updated my instance to the latest version

I have noticed the "key_id" field of the secret is set to NULL. This field is said to be optionnal by the docs, and I cannot find out how to properly edit it (running UPDATE vault.secrets SET key_id = id leads to a permission error)

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions