#dan-portal-error

1 messages · Page 1 of 1 (latest)

deft steepleBOT
white yarrow
warm sluice
#

Hi 👋

#

let's keep everything here for now

white yarrow
#

yeah sorry, just deleted the other message!

warm sluice
#

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?

white yarrow
#

oh interesting. There's nothing that it would have updated in firebase. Is it supposed to?

warm sluice
#

I don't know. I know nothing about the Firebase extension

white yarrow
#

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?

warm sluice
#

The screenshot of the error message starts with FirebaseError. None of Stripes error messages start that way

white yarrow
#

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

warm sluice
white yarrow
#

sorry for the delay, but i'm not seeing the error in the logs for some reason

warm sluice
#

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?

white yarrow
#

ok yeah I just tried it and it's the ...sessions.create(...) line. The logs are running right up to that line of code

warm sluice
#

In that case I would try logging the params value.

deft steepleBOT
white yarrow
upbeat kite
#

dan-portal-error

#

Can you share the exact request id for this? And if possible that info as text not a picture

white yarrow
#

message doesn't actually get passed. Firebase just automatically adds the log message

#

Can I DM you the full log?

upbeat kite
#

No

#

What we need is the exact API Request id for the error: req_123

white yarrow
#

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

upbeat kite
#

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

white yarrow
#

oh I had to check off "outgoing connect requests" under the more dropdown

#

here's the request id: req_VOnoPhOpP1ShLx

upbeat kite
#

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