jen_at_haverstack Posted September 10, 2020 Report Share Posted September 10, 2020 Recently I was attempting to create a Folder object via the JavaScript API and encountered this error: Permission denied: not allowed to 'create' 'Task'. Missing the required 'Create objects (sequence,shot,task)' permission. I was providing the `name`, `parent_id`, `object_type_id` during my attempt, and the given error was very strange to me because my user should have administrator permissions for the project I was modifying. After a while I realized that I needed to also provide the `project_id` so that the API could figure out whether I had the appropriate permissions to make this change. Still, if the `project_id` is required to determine permissions, it would have been more useful if the error message specifically called that out instead of sending me down a rabbit hole of checking my permissions and API keys. Mohammadreza Hashemizadeh 1 Link to comment Share on other sites More sharing options...
Simon Stålner Posted September 17, 2020 Report Share Posted September 17, 2020 Hi Jen, I'm sorry for the inconvenience. I agree that the error message could contain more information on the specific issue. I will forward this to our development team. Regards Simon Link to comment Share on other sites More sharing options...
colorbleed Posted March 14, 2023 Report Share Posted March 14, 2023 This is still an issue it seems with ftrack_api version 2.3.3. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now