Jump to content

jen_at_haverstack

Members
  • Posts

    47
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    jen_at_haverstack got a reaction from Mohammadreza Hashemizadeh in Would be nice to have a clearer error for missing `project_id`   
    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.
  2. Like
    jen_at_haverstack reacted to Lorenzo Angeli in Py3K early access   
    @jen_at_floyd we are looking on adding your proposed fix (with few changes) to the api 2.0 branch.
    If you want you can test this before cloning the repo , changing branch and installing it into a virtualenv.

    This fix is likely to end up in the api 2.0 branch soon though, let us know in case you test.
    Cheers.
    L.
  3. Like
    jen_at_haverstack reacted to Lorenzo Angeli in Bug: Multiple instances of ftrack-connect open on Windows   
    Hi @jen_at_floyd, there's a patch already merged in connect to mitigate this and it'll be available in an upcoming version of connect.
×
×
  • Create New...