Tasks with null bucketId

Copper Contributor

Hi,

we have an integration with MS Planner where we import tasks via API.

The API-doc https://learn.microsoft.com/en-us/graph/api/resources/plannertask?view=graph-rest-1.0

specifies that each task has a 'bucketId' property of type String.

Although it does not say anything whether it's optional or required, but in the MS Planner web-app I could not find any possible way to create a task outside of a bucket - hence I assumed that the 'bucketId' is a required parameter and can not be empty.

It was perfectly working like that for years, but in the past few months we've got already 2 cases from our customers where the API would return a task with null 'bucketId', which breaks our code.

 

And now I am not sure - is this some broken state on the MS Planner side, or is this property optional now?

The api-docs still does not say anything about optional/required.

0 Replies