News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
High Volume SMS Stopped Working
Tags: high-volume sms
Jan 11, 2022 at 10:58am   •   2 replies  •  0 likes
mallabon

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
)
)
)
)
2 Answers
answered on Jan 11, 2022 at 11:11am  

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.


 0
answered on Jan 11, 2022 at 11:49am  

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.


 0
on Jan 11, 2022 at 1:31pm   •  0 likes

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?

on Jan 11, 2022 at 2:12pm   •  0 likes

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.

on Jan 11, 2022 at 2:34pm   •  0 likes

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.

on Jan 11, 2022 at 2:48pm   •  0 likes

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.

on Jan 11, 2022 at 3:06pm   •  0 likes

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?

on Jan 11, 2022 at 3:17pm   •  0 likes

yes it is

on Jan 18, 2022 at 12:56pm   •  0 likes

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.

on Mar 8, 2022 at 2:40pm   •  0 likes

I am also having this issue but don't understand what you're suggesting as a fix. Can you help?

on Mar 8, 2022 at 2:56pm   •  2 likes

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.

on Mar 8, 2022 at 7:13pm   •  0 likes

Got it, thanks! Worked for me too :-)

on Jan 18, 2022 at 1:05pm   •  0 likes

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

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us