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
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