Upload document - Invalid request ( "Invalid request Content-Type. multipart/form-data." )

Please try with io.BytesIO

file_ach = io.BytesIO(ach_post_data['file'].read())

Also, refer to this:
Can’t upload a document from python SDK

2 Likes