#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/1425707573171982367
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! Do you have a request ID that shows this error?
hello, i'm not sure how to grab that actually
i'm using this function to connect to attempt to connect to my session https://docs.stripe.com/js/financial_connections/collect_financial_connections_accounts
Have you checked if the client_secret you're using in this function is the same as what you get when you create the session?
yes just validated that
for context i am in sandbox mode and am using test publishable/secret keys
this is the full error:
"type": "invalid_request_error",
"code": "financial_connections_initialization_error",
"message": "This is not a valid Financial Connections Session client_secret."
}```
i can also paste the session object, since it is sandbox data right?
Can you log the client_secret that is being passed from your backend to the frontend on both the backend and frontend and see if they are the same?
Yeap, you can paste it here. But can you paste the client_secret from the 2 logs?
{
"id": "fcsess_u9iip5vbf",
"object": "financial_connections.session",
"client_secret": "fcsess_m3tqv0bwb_secret_qf9qorx4z",
"permissions": [
"transactions",
"balances"
],
"account_holder": {
"type": "customer",
"customer": "test-user-123"
},
"filters": {
"countries": [
"US"
]
},
"return_url": "http://localhost:5174/financial-connections/return"
}
this is returned from my backend
i tried logging it in my backend but cloudflare is so weird for some reason i can't see console logs in the observability tab only metadata on invocations
but i'm directly grabbing the client_secret from this response object and passing it to the stripe.js collectFinancialConnectionsAccounts function
this is my code if you're interested
Sorry I am working with a few users. Looking into what you posted.
its ok sam_stripe ๐ฅธ