Getting the project from task - Node - Operation is not allowed for logical folder

Hi, 

I am pretty new to the api so maybe i am missing something obvious:

I am making a request getting a filtered list of task. 
However i cant seem to get the project trough the parent id (or is this not te project id)

The request returns Operation is not allowed for logical folder.
Can anyone help me out please :)

0
2 comments
Spot On Innovative Approach Stellar Advice
Avatar

Solution:
Subtasks have the root folder as parentid which you can't get  -> results in an error
For subtasks one should look at the superparentsId 

0
Comment actions Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hi Hans Verstraeten, thanks so much for posting and adding the solution here as well, I'm sure that will be helpful to the API users here! 🤗

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
Comment actions Permalink

Folllowing List for Post: Getting the project from task - Node - Operation is not allowed for logical folder
[this list is visible for admins and agents only]

Top
Didn’t find what you were looking for? Write new post