News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Direct Message creation is not working if the email-ids have same username with different domains
Tags: message
Dec 26, 2021 at 11:08pm   •   2 replies  •  0 likes
Rajeev Garg

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 Answers
answered on Dec 27, 2021 at 7:47pm  

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.


 0
answered on Dec 27, 2021 at 9:32pm  

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


 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us