Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostgrestError: called 'Result::unwrap()' on an 'Err' value: InvalidPosition #304

Open
2 tasks done
dohooo opened this issue Jul 11, 2024 · 2 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@dohooo
Copy link

dohooo commented Jul 11, 2024

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

A clear and concise description of what the bug is.

Related to #289

To Reproduce

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

  1. supabase db reset.
  2. Retrieve stripe.products via js SDK.
  3. Error occurred.

But in another way, it could be solved.

  1. supabase db reset.
  2. Retrieve stripe.products in the supabase studio
image 3. Retrieve stripe.products via js SDK. 4. Receive the correct data image

For more information:
image

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

  • OS: [e.g. macOS, Windows]
  • Browser (if applies) [e.g. chrome, safari]
  • Version of supabase-js: [e.g. 6.0.2]
  • Version of Node.js: [e.g. 10.10.0]

Additional context

Add any other context about the problem here.

@dohooo dohooo added the bug Something isn't working label Jul 11, 2024
@dohooo
Copy link
Author

dohooo commented Jul 11, 2024

@burmecia
Copy link
Member

Thanks for reporting this issue. It is caused by initial writing metadata data to the stats table, it is fixed by #289 and Wrappers version >= '0.4.0' should not see this issue anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants