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
TAS-106 - Operation is not allowed
Tags: rest api
Sep 15, 2021 at 3:14am   •   4 replies  •  0 likes
Martin Dearne

Trying to activate a create recording in production from the Office API Reference | RingCentral Developers is giving the following error: -

{




"errors":[


0:{

"errorCode":
"TAS-106"
"message":
"Operation is not allowed"
}
]

}

I have looked on the community and struggling to find why this is occuring.

Regards,


Martin Dearne

4 Answers
answered on Sep 20, 2021 at 3:35am  

Ok I believe I have worked out the key piece of information here to create recording. It is always required to be initiated on the Parties.id who is the external and not the agent from internal.

I have just tested the following scenarion

  • Inbound from my mobile to agent on their direct dial - initiated on the parties.id of my mobile so -1 in this case
  • Outbound from agent dialer to my mobile - initiated on the parties.id of the agent so -2 in this case.

Thanks all for your assistance glad to have got to the bottom of this finally.


 0
on Sep 20, 2021 at 1:52pm   •  0 likes

I told you in other thread that you have to pick the right tel session id and the right party id. The easiest way to detect and pick the correct one is to check if the parties[0] object has an extensionId

if (party.extensionId != null){
    // pick this party's id
    ...
}
answered on Sep 20, 2021 at 2:51am  

Hi Phong,

I get the same issue using Postman taking the TelephonySessionId and RingCentralPartyId. I am calling from the production account to sandpit account. On the same call I can get the create recording to work for the sandpit account but not the production account.

I cannot overcome the below: -

{

"errors": [

{

"errorCode": "TAS-106",

"message": "Operation is not allowed"

}

]

}


 0
answered on Sep 15, 2021 at 12:14pm  

This is a strange message and there is not much solution available in the community.

You can report this issue here to the dev team:

https://developers.ringcentral.com/support/create-case

@Phong Vu can also help in his case


 0
answered on Sep 15, 2021 at 3:28pm  

I don't recommend to start testing an API which requires active inputs such as the telephony session id and the call party id using the API reference "Try it out" form. You will easily make mistakes if you generate a call using other methods to capture the required inputs and insert them in the form. 1) You may take the wrong call party id. 2) You may login the developer portal where you use the form with a different user while you made the call somewhere else using another user.

Remember that only the call owner (a user in the call) can control the call including start/pause/resume the call.


 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