#runayeon-express-loginlink
1 messages · Page 1 of 1 (latest)
Hi, can you share the request is where you're seeing this error? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_vt23ufBa1VjjGb
Still looking at this request id
Any updates or still looking?
Still looking, I'm talking to a teammate now.
Thank you for your patience.
Can you share more information on what you're trying to do here?
Why are you trying to do this?
LoginLink is quite old and was more for the old OAuth flow. Is this a brand new flow you just added to your app?
I believe I just followed the documentation but essentially, I'm trying to create the onboarding portal for the merchant.
runayeon-express-loginlink
After calling stripe.accounts.create with the type param set to express.
yeah okay so you likely are mixing up APIs.
you need to create an AccountLink not a LoginLink
So it is not stripe.accounts.createLoginLink
I actually also have code for stripe.accountLinks.create
you want that second one yes
is the first one deprecated or something?
It's for something else, to send them to the Express app and such. Mostly just switch to AccountLinks and it will work
Gotcha, I'll give it a shot. Will let you know what's up. From what I recall, it only fails the second time I create the login link. Do you know why that might be happening.
I'm dubious that's true and you're likely mixing things up
It seems like I made a mistake with one of my conditional statements. One final question, I assume stripe.accountLinks.create does not allow the merchant to view their express app and is solely for onboarding.
correct
Thanks, have a good one. Will reopen if anything comes up.