Question

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

  • 27 December 2021
  • 2 replies
  • 371 views

  • Participating Frequently
  • 6 replies

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 ?


2 replies

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.

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

Reply