#deeprajdevaraj-subscription
1 messages · Page 1 of 1 (latest)
can you share the request id [0] where you're seeing this error? it'd look like req_xxx
[0] https://support.stripe.com/questions/finding-the-id-for-an-api-request
ok let me check
please give me some time to get the detail
sorry I can't find that in the log
The last request id recorded is req_ZPhDR2zENiVuR2
to clarify, are you seeing that error in the developer console? or is it as a response to a request made from your server?
and what action/request were you trying to do when that error was returned?
yes it is received in my client as a response from my server code
I am getting you the detail now
okay, so it sounds like your server was trying to do something, and then you got that error - what specific request did your server make to get that error?
I call this function using stripe object to create a configuration. stripe.billingPortal.configurations.create
and then create the session based on the configuration id created
during this process I am getting the error
our two clients are using this functionality
yes, but again, which specific request is returning that error
one of the requests must be returning that error
give me a minute
I will tell exactly the function
sorry for keeping you wait
this is the function that throws the error
stripe.billingPortal.configurations.create
and these are the configuration settings passed
invoice_history: {enabled: true}, payment_method_update: {enabled: true},
subscription_cancel: {
enabled: true,
mode: 'at_period_end'
subscription_pause: {enabled: true},
subscription_update: {
default_allowed_updates: null,
products: [{
prices: [XXXXXXXXX],
product: XXXXXXXXXXX
}],
enabled: true
}
gimme a while to look and see if i can find the specific request that threw that error
sure
i can't find the request id from a quick search. Since this error is being returned when you call stripe.billingPortal.configurations.create , there must be a request id returned also, you'll need to log the header to find the request id. Without the request id, I can't really help to troubleshoot
so for that do I need to go to connected account and look for the log
Each API request has an associated request identifier. You can find this value in the response headers, under Request-Id
ok. one query, if the function fails, will there be any log
because in the log section, after clicking the functionality in client, I didn't get the log
sorry for the confusion
it depends if the request was sent to Stripe
hmmm, sorry to redirect you, but you're going to need to write in to Stripe Support about this : https://support.stripe.com/contact/email. They'll be able to help with that. I'm guessing that the connected account wasn't onboarded with platform controls : https://support.stripe.com/questions/standard-connect-with-platform-controls, and it's not something which I can fix/help with over Discord.
remember to include the request id : req_ylSOCu0sfnPVnM when writing in for them to refer to
sure. let me send the email and I will let you know once it is done
I send the email just now
can you please acknowledge
yep i see it