Skip to main content
The First Step
November 29, 2020
Question

error while sending mms using sandbox credentials in office api console

I'm having issues while sending mms using sandbox phone number.

My app has not been graduated yet for production.

When I'm using sandbox no for sending mms in office api console: it gives error: parameter[object object] is invalid, from number does not belong to you.


when i'm using same in curl format it gives 101 error as parameter value is invalid both in app and postman.

However I am able to send msgs from same number successfully.

Don't know whats the issue.

Having doubt that when app is in production then we can send mms from prod number?

Any help would be much appreciated.

Thanks

    7 replies

    PhongVu
    Community Manager
    Community Manager
    November 30, 2020

    How your app will eventually be used in the production? Using Postman only? Don't you write your app in some programming language? If yes, why don't you call the API from your app?

    The First Step
    December 1, 2020

    called the api from app also , but did not worked.

    I'm doing zoho crm integration .

    So the api code is in zoho custom function

    PhongVu
    Community Manager
    Community Manager
    December 1, 2020

    Can you call from your code and print out the error. Without the error or trace, I can't help.

    The First Step
    December 1, 2020
    • {"errorCode":"InvalidParameter","message":"Parameter [attachments] value is invalid.","errors":[{"errorCode":"CMN-101","message":"Parameter [attachments] value is invalid.","parameterName":"attachments"}],"parameterName":"attachments"}

    I'm having this error while calling the mms api.

    Thanks for your help

    PhongVu
    Community Manager
    Community Manager
    December 1, 2020

    I can't see your code so I still cannot say why. But the error message is clear that "invalid" parameter and that means your input IS NOT correct. It could be the media content is not supported. You can quick test by sending a simple small .png or .jpg image to see if it gets thru.

    Employee
    December 2, 2020

    Hi Constantine, you can try our Embeddable widget in sandbox to find what data to send in MMS api.

    https://ringcentral.github.io/ringcentral-embeddable
    How to switch sandbox environment: https://github.com/ringcentral/ringcentral-embeddable/issues/97#issuecomment-377537326

    The First Step
    December 2, 2020

    MMS is getting sent from widget successfully , but not from sms api.

    Thanks for your help .