#Aditya Bhutani - Update Tax Rates

1 messages · Page 1 of 1 (latest)

wary narwhal
#

What error do you get when you try to update it?

#

Do you have a request ID (req_123) from a time that you tried this?

smoky mauve
#

No error. It’s returning me the response. But the tax_rates is not getting updated to []

#

Where can I get request Id ?

wary narwhal
smoky mauve
#

Give me a moment. I’ll look if I can find it.

#

Request Id is “req_ZmDsBBKh13B3U5”

#

I can see in the log. The tax rate is not being sent. But I’m sending the tax rate :/

wary narwhal
#

Can you try putting one empty string in the array?

#

Or this might mean an empty string instead of the array. I am unsure how it would be done with that library.

smoky mauve
#

After setting the array as [“”] I have received an error

#

*** Stripe::InvalidRequestError Exception: You passed an empty string for 'tax_rates[0]'. We assume empty values are an attempt to unset a parameter; however 'tax_rates[0]' cannot be unset. You should remove 'tax_rates[0]' from your request or supply a non-empty value.

#

Hey. Got it. Thanks @wary narwhal. You were really helpful. Used tax_rates: “” to unset tax.