#krishna-subscription-tax

1 messages · Page 1 of 1 (latest)

supple shale
#

Hey @celest hound what is your code and what is the error?

#

krishna-subscription-tax

celest hound
#

"error": {
"message": "Invalid array",
"param": "default_tax_rates",
"type": "invalid_request_error"
}

supple shale
#

You can have more than one tax rate so this parameter expects an array which is what the error tells you

#

you want -d default_tax_rates[0]=txr_123

celest hound
#

no matches found: default_tax_rates[0]=txr_1LSLYfSJsXH2azWQ7IkNVfNC

#

it's showing a error

supple shale
#

that's your terminal not liking the ""

#

wrap it in double quotes

#

or better: don't use curl, you are not familiar with your terminal/curl so just use one of our official client libraries in a language you're familiar with!

celest hound
#

okay