#rat_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/1426081488423751702
📝 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.
- rat_error, 22 hours ago, 24 messages
FYI I trigger the collectFinancialConnectionsAccounts function from the client using stripe.js
hello! I think my colleague requested that you try and find the request id for the collectFinancialConnectionsAccounts function, were you able to find that request id?
I actually was not, meant to respond in that thread but could not. So stripe.js seems to obfuscate the request or something because I'm unable to see it in my network calls in chrom dev tools
Do you know maybe how to grab that?
Can you share your account id and I'll see if I can track down that request, you can find your account id by logging in to https://dashboard.stripe.com/settings/account. It'll have the prefix acct_
acct_1SCPCeCr52bUjTC1
when did you trigger the request? like in the past half hour?
it's okay, let me try and track it down but will let you know if i need you to trigger it again. But I'm taking a look at that account you shared, and I don't see any request to create the financial connection session.
can you share the corresponding request id where you created the financial connection session in your backend server?
would sharing the session id help? sorry but cloudflare is really bad about showing logs in the observability tab. i'm kinda new to it as well so my bad
basically can't find that either
yeah, the session id would work too
fcsess_16irtep8y
it's in sandbox mode for context
like the publishable and secret keys i'm using in the server are from sandbox mode
To give you an example, when I created a Financial Connection Session, this is how the ID looks like fcsess_1SGZLhJQtHgRImA7Bwq5yYlH
this is what i meant by your id looks too short
hmm...
so this is the object i'm receiving in my server, and am passing back to my client:
{
"id": "fcsess_16irtep8y",
"object": "financial_connections.session",
"client_secret": "fcsess_e2im85l6y_secret_b4n523tt9",
"permissions": [
"transactions",
"balances"
],
"account_holder": {
"type": "customer",
"customer": "test-user-123"
},
"filters": {
"countries": [
"US"
]
},
"return_url": "http://localhost:5174/financial-connections/return"
}
i'm working with an ai agent and made sure to check this is not some dummy object generated by my code, this is returned from stripe
so one more thing i wanted to understand was whether i'm actually set up to work with financial sessions. i've signed up and am able to see settings for my financial connections modal in my dashboard. am not able to see anything else though
i can confirm that that ID definitely is too short, searching for it internally doesn't return a match for any such object
makes sense
const session = await stripeService.createFinancialConnectionsSession({
account_holder: {
type: 'customer',
customer: userId
},
permissions: permissions,
filters: {
countries: ['US']
},
return_url: returnUrl || 'https://budget-helper-dev.nsx-port.workers.dev/financial-connections/return'
});
this is the code that retrieves that object
where stripeService is as follows:
const stripeService = new StripeService(env.STRIPE_SECRET_KEY);
Sorry, but I think the next step here is to try and find the corresponding request id for where you created the Financial Connection Session
I can't find any creation request in the account you shared and that object id is too short i.e. invalid, so I can't find the originating request too
if you find the request ID, I can track down the actual request and help you find the actual Financial Connection ID to compare