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
Getting "Internal Server Error" when calling A2P SMS APIs in sandbox
Tags: sms and text messaging
Apr 17, 2022 at 8:44am   •   1 replies  •  0 likes
Smit Shah

I keep getting this error for the past 12 hours.

Initially, I figured it was transient, but it has persisted for a while now.

Is there anything I need to do to get this resolved?

 StatusCode: 503, ReasonPhrase: 'Service Unavailable', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
 {
   Connection: keep-alive
   Retry-After: 40
   X-Rate-Limit-Group: light
   X-Rate-Limit-Limit: 50
   X-Rate-Limit-Remaining: 49
   X-Rate-Limit-Window: 60
   RoutingKey: SJC12P01
   RCRequestId: 16ca2286-be15-11ec-bf06-005056bb9532
   Date: Sun, 17 Apr 2022 06:10:32 GMT
   Server: nginx
   Content-Length: 107
   Content-Type: application/json
 }
 Content: {
   "errorCode" : "AGW-110",
   "message" : "Internal Server Error. Consult RC Support.",
   "errors" : [ ]
 }
    
    
 Request:
 Method: GET, RequestUri: 'https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/a2p-sms/messages', Version: 1.1, Content: <null>, Headers:
 {
   X-User-Agent: Unknown/0.0.1 RingCentral.Net/5.0.0
   Authorization: Bearer <removed>
 }
1 Answer
answered on Apr 17, 2022 at 11:16pm  

Hey @Smit Shah,

I believe A2P SMS permission needs to be enabled for both the number and the app, also the A2P SMS may not be available for sandbox accounts(although this has to be verified)


 0
on Apr 19, 2022 at 9:37am   •  0 likes

@Velmurugan B is correct about A2P SMS not being available in sandbox. To call these endpoints, you will need to work with the support team to manually graduate your app to production. Vel is also right in asserting that in order for A2P SMS to work:

  • The app needs the A2P SMS scope or permission.

  • The phone number needs to be enabled for A2P SMS, which can be requested via a form. Please note, that only account admins can request numbers to be provisioned for SMS.



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