#yldr

1 messages · Page 1 of 1 (latest)

ruby crystalBOT
glacial badge
#

What code exactly are you running that's not returning anything?

lofty yarrow
#

param unknown: received unknown parameter: customer

glacial badge
#

Can you please copy/paste the exact code you're running?

lofty yarrow
#

Raw response for the API
Status code 400
{
"error": {
"code": "parameter_unknown",
"doc_url": "https://stripe.com/docs/error-codes/parameter-unknown",
"message": "Received unknown parameter: customer",
"param": "customer",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_1zdal8WFOLehdm?t=1690910435",
"type": "invalid_request_error"
}
Raw response for the API
Status code 400
{
"error": {
"code": "parameter_unknown",
"doc_url": "https://stripe.com/docs/error-codes/parameter-unknown",
"message": "Received unknown parameter: customer",
"param": "customer",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_1zdal8WFOLehdm?t=1690910435",
"type": "invalid_request_error"
}
}

Learn more about error codes and how to resolve them.

glacial badge
#

Again, that's literally not the code you're running. Please copy/paste the exact code you're running

lofty yarrow
#

brother what do you actually want

#

im calling this via a rest call

#

do you want my endpoint

#

my error code

#

im not using /code/

#

im using the internet to make a post/get request because its the 21st century and i can call stripe's api many many different ways

#

be more specific

#

think postman

glacial badge
#

What are you using to make the call? Are you actually using Postman?

lofty yarrow
#

I am using Bubble.io, which is effectively postman, wrapped in a different UI

glacial badge
#

Got it, okay. So you need to include a query string, rather than passing the customer as it's own parameter. So right now, you're passing customer: "cus_OMjwKSbJoUACe1", but you should be passing query: "customer:\'cus_OMjwKSbJoUACe1/'"

lofty yarrow
#

if i copy the same syntax as the charges?customer=xxxx it works

#

And that makes sense, but I'm not sure if its the lack of coffee or if mercury is in retrograde or what

#

but I think I got it