#kaustuva-le

1 messages · Page 1 of 1 (latest)

rare marlinBOT
tropic geode
#

What trouble do you have?

crimson arch
#

I'm trying to create the ephemeral key like in the example:

const ephemeralKey = await stripe.ephemeralKeys.create(
{customer: customer_platform_account.id},
{apiVersion: '2022-08-01'}
);

I get this error:
"Must provide exactly one of these parameters: [:customer, :issuing_card]."

Request ID:
req_pPuhZ63qYlwLeU

#

Am I missing a parameter?

tropic geode
#

First you would want to paste that request id req_xxx to your Stripe Dashboard search

#

Then you can confirm you haven't sent in any POST parameter

crimson arch
#

req_99kKw0ZfRPMpSo

#

Thanks. For this request it appears no parameters were sent, this is weird since like you can see in the code above it is being sent.

tropic geode
#

Yeah it's weird.. It's more of a NodeJS issue. Are you sure that code is where it's executed? ie. if you have code elsewhere what is actually called

crimson arch
#

Could be an issue on my end. Thanks for checking. Examining the request on the dashboard helps. Thanks

tropic geode
#

np and good luck!

crimson arch
#

Yep it's at my end. Sorry about that

#

Thanks. Have a good one!