#zeke_error
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1267640839773884480
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- zeke_best-practices, 8 hours ago, 8 messages
/api/account is your own server endpoint. I don't have enough context why your server throw 500. I'd recommend adding more logs to your server and check why 500 was returned
If the error was thrown from Stripe, it'll be helpful to share the request ID (req_xxx). Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
No, no stripe error in my logs I thought for sure it was a stripe error ill try to add logs!
That sounds good! Adding more logs will help to determine where the error is thrown. If the error is thrown from Stripe, sharing the request ID (req_xxx) will give us more insights why the error happens
Hey I have another quick question for you I am using nextjs and in the docs it says add account.js to pages/api/account.js
The problem is I dont have a pages I have a src/app, Pages, Components
Where do you think I should put the account.js?
here is the doc
https://docs.stripe.com/connect/onboarding/quickstart?connect-onboarding-surface=embedded
Because it wants account.js to be in api/acount.js so I am thinking I could either do src/app/api/account.js or src/pages/api/account.js