Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An exception occurred: 400 Client Error: Bad Request #15

Open
EricPHassey opened this issue Sep 2, 2020 · 0 comments
Open

An exception occurred: 400 Client Error: Bad Request #15

EricPHassey opened this issue Sep 2, 2020 · 0 comments

Comments

@EricPHassey
Copy link

Trying to send out a test fax and receiving this error.

An exception occurred: 400 Client Error: Bad Request for url: https://rest.interfax.net/outbound/faxes?faxNumber=%2B1xxxxxxxxxx

    interfax = InterFAX(username="username", password="password")
    fax = interfax.outbound.deliver(fax_number="+1xxxxxxxxxx", files=['test.pdf'])
    fax = fax.reload() # resync with API to get latest status
    fax.status # Success if 0. Pending if 0

where the x's represent the fax number

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant