After updating to the newest SDK, our High Volume SMS PHP app stopped working. The only change I could see for our code was changing the URL from /batch to /batches. The error that I get is `400 Bad Request` response: {"errorCode":"CMN-101","message":"Parameter [from] value is invalid.". I also tried a test file copying the new version's sample code and copied all the credentials from the control panel. That also has the same error. Wondering if something got messed up in our account settings. The login requests work fine. Our client ID is J6Vf4T1PRGeFpKip9qm-nw.
The array being sent to the post function is:
Array ( [from] => +1xxx3668245 [text] => test [messages] => Array ( [0] => Array ( [to] => Array ( [0] => +1206353xxxx ) ) [1] => Array ( [to] => Array ( [0] => +1425xxxxxxxx ) ) [2] => Array ( [to] => Array ( [0] => +1425744xxxx ) ) [3] => Array ( [to] => Array ( [0] => +1425xxxxxxxx ) ) ) )
Can you do a quick test. Login this app with the same user credentials you log in your app and send a small campaign to see if the message is sent successfully.
It gives me the error: Your account doesn't have a phone number enabled for High Volume SMS. Tried both the number assigned to the app and my login as admin. Both had same error.
Which meant that the number is not assigned properly.
I have a look at your account and found out that the number is the main company number and it is connected to the extension 5500 via the IVR setting. Can you try to login with that extension login credentials?
Wasn't sure if you meant log in with the main number and 5500 extension or as the 425-xxx-5500 user that has that extension so tried both. Both ways I can log into your app but get the same error "Parameter [from] value is invalid." both times when sending text. Note: I noticed even when I log in as the 425-xxx-5500 user, the From number is still the main number +1xxx3668245.
That is why I asked you to test. The main company number is assigned to the FrontDesk extension 5500 via the IVR, and that is why when you login the app with that 5500 extension, you can see the main company number. But it's weird that I don't see it is assign to handle incoming messages. So I think that the number is assigned improperly.
You should contact your account admin or your RingCentral account manager to help with.
We are set up a bit weird because the 425-xxx-5500 number was our main number before RC that we ported in. We don't actually use the 1xxx3668245 number they gave us so used that for the HV SMS. They said it would interfere with normal sms if we used the 5500 number for HV SMS. I'm the account admin for us, is there something I can change to fix it, or might have changed and broke it? I submitted a support ticket almost 5 days ago but haven't heard anything yet.
Don't give full numbers in public forum. I masked them all for you now.
Wanna jump on a call to have a look at this? Is the member email address your work email?
yes it is
I found a limitation for using a main company number for sending/receiving A2P SMS is that the number needs to be assigned to the main super admin extension to handle Fax and SMS. Can you try to change the IVR settings and choose the extension 5544 instead of the Front Desk 5500.
I am also having this issue but don't understand what you're suggesting as a fix. Can you help?
Using the Admin login, under Phone System > Auto-receptionist > General Settings, I had to change the extension # to be the same extension as the admin user. I had previously set it to the same extension as our main number that we use instead of the one RC assigned us.
Got it, thanks! Worked for me too :-)
That fixed it. Thanks for your help.
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!Try RingCentral Workflow Builder