Skip to content

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

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions