Attachments: Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.
Try this code:
Ok I think this could work. Thank you a lot man
Python API Cannot Post 404 Error
Calling reference OAS in python API
Python API return different results from Excel
Retrieving India inflation data using python API
Missing symbology for following CUSIP: 037833AU.