Hi Bob,
What is the API endpoint which is resulting in the HTTP 304 error code.
Thanks for the assistance. The endpoint is: /restapi/v1.0/account/~/extension/~/sms
Hi Bob,
basing on your post I expect that you have read
https://devcommunity.ringcentral.com/ringcentraldev/topics/how-to-send-sms-from-the-main-company-num...If you are still getting MSG-304 after making all these steps, please let us know what phone number you use to login and what number you choose to send SMS from.
Thanks,
Anton
Anton,
Still getting the error, I tried switching back to the development server and works fine. Back to production and get the error. I am logging in with number 18778897640 (operator) and sending with number 18883931083.
Thanks,
bob
Oh, this is very simple: RingCentral does not currently support sending SMS from toll-free numbers. This limitation is primarily because inability of some carriers to route inbound SMS to toll free numbers.
I suspect that if you try any local company number (if you have one) it will work.
Anton
OK, I changed my send from number to 16788841809, one of our local numbers. I am still getting my token logged in as our operator as required (18778897640), I am still getting a 304 error. Do I have to change my operator number to a local number as well?
Bob, according to what I can see, 16788841809 is mapped to ext.124 while your operator extension is 113. Even if you are logged as an operator, you cannot send SMS from other users' direct numbers. In your particular scenario, to be able to send from 16788841809 you need:
- either authenticate as ext.124
- or unassign 16788841809 from ext.124 and make it additional company number
Anton