#nitin4465

1 messages · Page 1 of 1 (latest)

regal caveBOT
heavy dune
#

Hi 👋 what is the issue/concern you're facing?

sweet flume
#

we are getting the error "ArgumentError (Cannot update protected field: legal_entity)"

heavy dune
#

Can you share the ID of the request where you're seeing that error returned?

sweet flume
#

we are passing the code
....
Stripe::Account.update(
'acct_1NWNWXPvmEcyscrr',
{
leagal_intity:
{
tax_id: '111-11-1111'
}
}

)
..........
we are getting the error "ArgumentError (Cannot update protected field: legal_entity)"

heavy dune
#

That doesn't align with the code you shared initially, and that error is expected because leagal_intity (I think you meant legal_entity) is not a valid field on the Account object for you to update:
https://stripe.com/docs/api/accounts/update

#

Oh, you're still using an API version from before the name of those fields were changed. Do you continue to encounter that error you spell legal_entity correctly?

sweet flume
#

how to update the e_in for business_type "individual" , please suggest