question

andrey-demenev247 avatar image
andrey-demenev247 asked anton-nikitin answered

Problem with BT accounts and API calls- why am I getting "Parameter [brandId] is invalid" errors?

We have a RingCentral integration for CRM system we make. The integration has been used by multiple customers for few years so far, without any major issues.


Recently, a customer of us came up with an issue. The integration would not accept his password (we use Password Flow). After some investigation, we see that the customer has a British Telecom account. Basically, everything looks like normal RingCentral, but with BT branding. And when trying to authenticate the user via API, we receive the following error



{   "errors" : [
      {
                 
         "parameters" : [
            {
                 
               "parameterValue" : "7710",
               "parameterName" : "brandId"
            }
         ],
         "errorCode" : "OAU-101",
         "message" : "Parameter [brandId] is invalid"
      }
   ],
   "error" : "invalid_client",
   "error_description" : "Parameter [brandId] is invalid"
}


BT provides its own desktop app - BT Cloud Phone. Again, looks very similar, but with BT branding. BT Cloud Phone happily accepts that customer's password, but refuses to work with our RingCentral account that works fine with RingCentral Softphone (as well as our integration).


Is there a way to make the API work for both accounts?

phonerest api
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

anton-nikitin avatar image
anton-nikitin answered

Andrey, most likely your app is not enabled for BT brand. You can submit a help ticket indicating your app client_id to enable it.

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys