Legacy Dev Forum Posts

 View Only

Sign Up

Error when sending fax via API

  • 1.  Error when sending fax via API

    Posted 06-05-2025 18:21

    Reggie_Sheraton | 2022-02-25 08:59:58 UTC | #1

    Hi all, need some guidance as i am attempting the Post - https://api.mypurecloud.ie/api/v2/conversations/faxes via Postman and i am getting the below error. "message": "The request could not be understood by the server due to malformed syntax.",

    "code": "bad.request",

    "status": 400,

    "contextId": "ea41a82f-a710-42c3-957f-239f03063a96",

    "details": [],

    "errors": []

    }

    The body is configured as per below {

    "name": "TestFaxing",

    "addresses": [+****],

    "documentId": "b67bb2f2-f801-4958-912c-340e4dd4d744",

    "contentType": "application/pdf",

    "workspace": {

    "name": "",

    "type": "",

    "isCurrentUserWorkspace": false,

    "user": {

    "id": "",

    "name": "",

    "selfUri": ""

    },

    "bucket": "",

    "dateCreated": "",

    "dateModified": "",

    "summary": {

    "totalDocumentCount": 0,

    "totalDocumentByteCount": 0

    },

    "acl": [],

    "description": ""

    },

    "coverSheet": {

    "notes": "",

    "locale": ""

    },

    "timeZoneOffsetMinutes": 0

    }

    any urgent assistance/guidance will be appreciated as i need to take this into prod soon


    Reggie_Sheraton | 2022-02-25 10:03:15 UTC | #2

    Hi there, please ignore, found the issue, removed the + from the number "addresses": [+****],


    system | 2022-03-28 10:04:09 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 13704