question

alan-kimelman-md avatar image
alan-kimelman-md asked ·

"message" : "Parameter [to] value is invalid" in curl fax

When I attempt to curl with:

 curl -i " https://platform.ringcentral.com/restapi/v1.0/account/~/extension/~/fax";  -H "Accept: application/json"  -H  "Authorization: Bearer SU truncatedUE" -F "request={\"faxResolution\":\"High\",\"to\":[{\"phoneNumber\":\"+1 tendigitnumber\"}]}" -F "attachment=@/Users/akim/Desktop/ FaxTest.pdf;type=application/pdf"
RingCentral returns the following error:

{

  "errorCode" : "InvalidParameter",

  "message" : "Parameter [to] value is invalid",

  "errors" : [ {

    "errorCode" : "CMN-101",

    "message" : "Parameter [to] value is invalid",

    "parameterName" : "to"

  } ],

  "parameterName" : "to"

}

How can I correct that InvalidParameter error?

topic-default
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

· Write an Answer
Tyler Liu avatar image
Tyler Liu answered ·
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.