hellosign / hellosign-python-sdk

A Python SDK for HelloSign's API
MIT License
29 stars 48 forks source link

400 error: Invalid parameter: file_urls #76

Open wehttam0 opened 4 years ago

wehttam0 commented 4 years ago

Hey y'all,

I am receiving the following error when trying to pass some file urls into the /template/update_files/[:template_id] endpoint.

/hellosign_sdk/utils/request.py", line 258, in _check_error
    raise err_cls("%s error: %s" % (response.status_code, json_response["error"]["error_msg"]), response.status_code)
hellosign_sdk.utils.exception.BadRequest: 400 error: Invalid parameter: file_urls

SDK Version 4.0

janetanne commented 4 years ago

Hi Matthew!

Just wanted to close the loop on the Github issue since we've been communicating on the ticket. I've created an issue for this internally. In the meantime, you can use a requests library to build a raw HTTP request or make a cURL request.

Internal reference number: 10093 Related ticket number: 11055793

wehttam0 commented 4 years ago

Thanks for the update! For now I'm using a forked version of the library.

FWIW I also submitted a PR that fixes the issue: https://github.com/hellosign/hellosign-python-sdk/pull/77