sentialabs / coto

Undocumented AWS Management Console APIs SDK for Python
Other
51 stars 22 forks source link

billing._get_xsrf_token() failing with 'x-awsbc-xsrf-token' key not found in response.headers #33

Closed stummalapenta closed 2 years ago

stummalapenta commented 2 years ago

Hi,

Coto library is failing when calling the 'list billing account id' function from billing script, saying cannot find key 'x-awsbc-xsrf-token' in response headers.

https://github.com/sentialabs/coto/blob/master/coto/clients/billing.py#L50

would you help us work around to fix this issue?

stummalapenta commented 2 years ago

Tried this PR https://github.com/sentialabs/coto/pull/32 and seems working fine now