When creating agreement using API I always get agreement was automatically canceled
After uploading file through REST API documentation transientId works ok, I'm able to use it to create agreement. But when uplaoding file through my request implementation transientId I receive makes agreement creation cancelled.
Somehow it looks like file is not created in second case, but transientId is issued without problem.
Why are my agreements cancelled when getting transientId through python requests.POST, and it is ok when receiving it through REST API documentation examples?
EDIT:
Have fixed it with boundary changes (added File-Name Content-Type in multipart + appliccation/pdf Content-Type inside multipart boundary for file just before file content). Hope it helps someone else.
