question

Rajeev Garg avatar image
Rajeev Garg asked Rajeev Garg answered

Direct Message creation is not working if the email-ids have same username with different domains

Hi ,

We are using conversations API(POST https://platform.ringcentral.com/restapi/v1.0/glip/conversations) to create the Direct message using Bot access token.


When the members having same username with different domains then RingCentral shows internal server error.

Payload :

{ "members" : [ { "email" : "raja@xxxxxxx.us" }, { "email" : "raja@xxxxxxxx.com" } ] }



Response from RingCentral :

{

"errors": [

{

"errorCode": "GLP-001",

"message": "Service internal error. Consult RC support."

}

]

}

Could you please help us to resolve this issue ?

message
1 |3000

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

vyshakhbabji avatar image
vyshakhbabji Deactivated answered

Can you please send us the Request and Response ( along with Response Headers) for investigation ? Please format the request and response bodies using the code formatting option (< >) on your comment.

1 |3000

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

Rajeev Garg avatar image
Rajeev Garg answered

Hi @vyshakhBabji ,

Here is the Resuest and Response:

API endpoint : POST https://platform.ringcentral.com/restapi/v1.0/glip/conversations

Request made through : POSTMAN

Token : Bot access Token

Request Body :

{"members":[{"email": "raja@xxxxxx.us"},{"email": "raja@xxxxxxx.com"}]}


Response Body :

{
    "errors": [
        {
            "errorCode": "GLP-001",
            "message": "Service internal error. Consult RC support."
        }
    ]
}


Response Headers:

{"Server":"nginx",
"Date":"Tue, 28 Dec 2021 04:45:39 GMT",
"Content-Type":"application/json; charset=utf-8",
"Content-Length":92,
"Connection":"keep-alive",
"RCRequestId":"0157dc2c-6799-11ec-9650-005056bb2a95",
"X-Request-Id":"reqId:0157dc2c-6799-11ec-9650-005056bb2a95;accId:63064218028;extId:63149921028",
"ETag":"W/"5c-i5mWg3K5eq1vGDNBZqfevw",
"X-Rate-Limit-Group":"medium",
"X-Rate-Limit-Limit":40,
"X-Rate-Limit-Remaining":39,
"X-Rate-Limit-Window":60,
"RoutingKey":"SJC01P13"}


Moreover we received a different kind of mail from RC for the user raja@xxxxxxx.com

Mail Content :

RingCentral account request
Someone you work with would like for you to join RingCentral. Your company admin controls new account setup, so we've sent them a separate email with the request.


No further action is needed from you at this point.

It seems both the users are in the same org and raja@xxxxxxx.com is not having RC account setup . We expect it should not restrict to create the DM. Please help us to resolve this issue.


Thanks,

Raja

1 |3000

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