Skip to main content
The First Step
October 15, 2021
Question

Error sending an MMSmessage

When I try to send an MMS message I get:

{ "errorCode" : "InvalidParameter", "message" : "Parameter [attachments] value is invalid.", "errors" : [ { "errorCode" : "CMN-101", "message" : "Parameter [attachments] value is invalid.", "parameterName" : "attachments" } ], "parameterName" : "attachments" }

Does anyone know what's wrong? I have the JSON formatted properly and it worked in the sandbox. Now it does not work in production.


    20 replies

    vortextrcThe First StepAuthor
    The First Step
    October 15, 2021

    And also, if I determine that the number does not have MMS access, how would I turn that on?


    PhongVu
    Community Manager
    Community Manager
    October 15, 2021

    Sorry, I forgot to submit the change. Should be ok to call the API in a min.

    vortextrcThe First StepAuthor
    The First Step
    October 15, 2021

    Is there anything else I can try? I'm stuck right now?

    PhongVu
    Community Manager
    Community Manager
    October 15, 2021

    Things must be in your code then. Does it work with just SMS text?

    Are you ready to try e.g. the Node JS SDK?

    PhongVu
    Community Manager
    Community Manager
    October 15, 2021

    I see you are trying to provide service to RingCentral users to use P2P SMS (consumer) for A2P SMS (non-consumer), you will soon cause them getting blocked by mobile carriers.

    Are you available for a quick call so I can walk you thru a process and better options? If so, let me know your email address.

    vortextrcThe First StepAuthor
    The First Step
    October 15, 2021

    Roger

    888.205.6032

    roger@vortext.ca

    vortextrcThe First StepAuthor
    The First Step
    October 16, 2021

    Another issue, it does not even work in the portal "TRY API" option

    PhongVu
    Community Manager
    Community Manager
    October 17, 2021

    BTW, I check your production account and you don't have one. You signed up for a free tier sandbox account and you created a public app so that other RingCentral customers can login your app with their own credentials to send SMS.

    Now tell me how did you try to login the production? Do you login with a customer credentials? If so, what is their account id?

    vortextrcThe First StepAuthor
    The First Step
    October 17, 2021

    Yes, my client used my app for their live account . The main login number of their live production account is 720 465 6809


    vortextrcThe First StepAuthor
    The First Step
    October 18, 2021

    Any more suggestions?