Receiving error "PBX not registered" when logging into RingCentral via API

  • 1
  • Question
  • Updated 2 months ago
I have a program that I'm trying to build that is intended to send out SMS messages.  This program has multiple users, and they need to send out things like reminders to various clients.  Thus the program needs to make connections to the RingCentral API to send out these SMS/MMS messages.  

I'm working with a co-worker, who had some credentials he had been using in earlier tests.  We got things working from his machine, but then I tried to do some testing from my machine. I received errors using the same process that he had used.  This program executes from the context of the machine that it is running on - not from a centralized server context - so when I'm running it, the requests are being sent from my machine, vs. when my coworker runs things they are sent from his machine.

The error is "PBX not registered".  When my coworker messes up his credentials, he gets a different error, so it doesn't seem to be an issue with the UN/PW combination.

Does RingCentral only allow certain credentials to be used from specific locations/machines?

Do they tag or mark a set of credentials with the IP/MAC/persistentID of the machine that is used to first log in with them?  And then only let's that one source machine use those credentials?

How can I configure my program so that it will work for all users from all locations?  The idea was to use a single set of login credentials for the program, regardless of who the user actually making the SMS request was.
Photo of Justin @Adatasol

Justin @Adatasol

  • 70 Points

Posted 2 months ago

  • 1
Photo of Tyler Long

Tyler Long, Official Rep

  • 9,486 Points 5k badge 2x thumb
If you are using RingCentral API, your program location doesn't matter. Your app just sends HTTP Requests to RingCentral API server, so it works as long as your network connection is OK.

Could you please provide more details? Such as HTTP request detail, and full response? It's even better if you can post short code snippet to reproduce the issue.