ErrorCode:SUB-406, message:Not allowed subscribe for events to extensions of other account
Nov 6, 2020 at 12:00pm • 1 replies • 0 likes
Jesus Omar Cervantes Gonzalez
I am doing a request and I subscribe to events and notifications so I get following error:
"errorCode":"SUB-406","message":"Not allowed subscribe for events to extensions of other account"
Do you know what can i do to solve this?
or you can provide me a contact for this?
1 Answer
answered on Nov 6, 2020 at 12:57pm
As the error message says, you cannot register to receive message store notifications for other extensions. This means that you can only subscribe for messaging notifications for the extension that authenticated (login) to run your app.
1
on Nov 6, 2020 at 2:50pm • 0 likes
we did the subscription succesfully but we can't see the log when a message is send.
Do you know why?
on Nov 6, 2020 at 3:35pm • 0 likes
The message store notification is very generic, it just gives you the even of some changes to an extension's message store. The changes include a new inbound/outbound message or a message is marked as read/unread.
"changes":
{
"type": "SMS",
"updatedCount": 0,
"newCount": 1
},
{...} ],
Let me know what you want to achieve so I might be able to help.
on Nov 9, 2020 at 8:04am • 0 likes
We subscribed into the desired extentions with the next filters:
/restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store
and
/restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store/instant?type=SMS
But we had send messages in order to test it and we hadn't receive the notification with the corresponding information.
So i would like to know if you could tell me how can I see this Info?
and if could you provide to me an email to contact you and check this out or if it's better for you a phone number?
on Nov 6, 2020 at 1:49pm • 0 likes
so, do I need use the credentials of the desired extension in order to send a request for suscribe?
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