#dan-portal-error
1 messages · Page 1 of 1 (latest)
yeah sorry, just deleted the other message!
Okay unfortunately this error appears to be related to Firebase. That isn't something I'm going to be able to help with directly but I can offer some suggestions.
Is it possible that when you saved your portal settings in the Stripe dashboard it didn't update your Firebase records?
oh interesting. There's nothing that it would have updated in firebase. Is it supposed to?
I don't know. I know nothing about the Firebase extension
but why would this be related to firebase? It's stripe that's throwing the error, so isn't it just that my stripe env is not seeing the customer portal config?
The screenshot of the error message starts with FirebaseError. None of Stripes error messages start that way
oh yeah my firebase function is just logging the error, but here's the code that's throwing the error
it's getting caught in that catch block when stripe.billingPortal.sessions.create(...) runs
Can you find the API request that threw the error in your Account logs?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
sorry for the delay, but i'm not seeing the error in the logs for some reason
That suggests to me the error is being thrown before the interaction with the Stripe API.
Could you try adding some more logging to see which line of code throws the error?
ok yeah I just tried it and it's the ...sessions.create(...) line. The logs are running right up to that line of code
In that case I would try logging the params value.
dan-portal-error
Can you share the exact request id for this? And if possible that info as text not a picture
message doesn't actually get passed. Firebase just automatically adds the log message
Can I DM you the full log?
there is no API Request id
it's 1:22 pm for me rn, and i've been triggering it for the last hour but no logs are showing up
that 400 err was bc I forgot to use the connected accounts stripe ID but that's been fixed
Please try to provide actionable information so that we can help you. If you are making an API request on the connected account then the logs would be on that specific account, not your own
oh I had to check off "outgoing connect requests" under the more dropdown
here's the request id: req_VOnoPhOpP1ShLx
okay so you are making the request on a connected account and that account doesn't have any settings in Test mode I assume so that errors. You need to log into their Dashboard and then set all the information as needed
Alternatively, you can create a specific Configuration for them and use that: https://stripe.com/docs/api/customer_portal/configuration