News & Announcements User Community Developer Community

Welcome to the RingCentral Community

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

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
Tryin to send my first API SMS message, getting Status = Faulted {7}
Tags: sms and text messaging
Oct 21, 2022 at 9:34am   •   3 replies  •  0 likes
Travis Medley

I am new to RingCentral, building a AtoP SMS feature.

I am using .NET Core. Downloaded the sample.
It compiles all fine. Plugged in the credentials.

When I go to sent I get

Id = 31, Status = Faulted {7}, Method = "{null}", Result = "{Not yet computed}"

What is faulted {7}. Is that a credential issue?


3 Answers
answered on Oct 24, 2022 at 7:30am  

Where did you get the example code from? The code you posted looks very strange and I suspect that the account id and the extension id is completely wrong.

string accountSid = "AAA";
string extension = "101";

Where did you get the account Sid? Remember that the accountId and the extensionId are internal ids. They are NOT the username and the extension number (101 as you currently specified).

If you are not sure about the ids, leave them blank

var message = RC.Restapi().Account().Extension().Sms().Post(parameters);

answered on Oct 21, 2022 at 1:31pm  

Thanks for your help.

I was just trying to understand what "faulted {7} meant.

However, here is the code I am trying to get working (replaced passwords etc)

protected void Page_Load(object sender, System.EventArgs e)
string accountSid = "AAA";
string authToken = "BBB";
string extension = "101";
string username = "CCC";
string userpwd = "DDD";

RingCentral.RestClient RC = new RingCentral.RestClient(accountSid, authToken, false);
RC.Authorize(username, extension, userpwd);

var parameters = new CreateSMSMessage(); = new MessageStoreCallerInfoRequest[] {
new MessageStoreCallerInfoRequest()
phoneNumber = "+1949381XXXX"
}; = new MessageStoreCallerInfoRequest[] {
new MessageStoreCallerInfoRequest()
phoneNumber = "+1760802XXXX"

parameters.text = "test";

var message = RC.Restapi().Account(accountSid).Extension(extension).Sms().Post(parameters);

answered on Oct 21, 2022 at 11:14am  

That does not say anything. Share some code (remove sensitive info if any) how you call the API.


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

Developer Platform
Integrated Apps
App Gallery
Developer support
Games and rewards

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