vercel / nextjs-subscription-payments

Clone, deploy, and fully customize a SaaS subscription application with Next.js.
https://subscription-payments.vercel.app/
MIT License
5.83k stars 1.19k forks source link

🐛 BUG: Some issue with Supabase Database (Not sure) #212

Closed Shivansh-yadav13 closed 1 year ago

Shivansh-yadav13 commented 1 year ago

I have followed the docs and got this setup. I'm facing one issue, my terminal is throwing this error

Error: {
  code: 'PGRST116',
  details: 'Results contain 0 rows, application/vnd.pgrst.object+json requires 1 row',
  hint: null,
  message: 'JSON object requested, multiple (or no) rows returned'
}

This is not specifically giving any issues. Previously, my subscribe button was not working due to my tax info on stripe not correct. but after correcting it, the subscribe button works perfectly fine.