I have been using Microsoft Graph planner API to push previously created planner (sort of like a template) to newly created planner ( the feature was in the works but I couldn't wait for it to roll over on who knows when),
so i created simple web application(Nodejs) that just pushes template on to the new planner.
currently the flow is planner created -> bucket created -> task created -> get task detail ( to make sure the task exists) -> update task detail (check boxes).
however request "get task detail" right after creating it causes 404 error
{ error: { code: "", message: "The requested item is not found.", innerError: { "request-id": "...", date: "..." } } }
I've originally skipped the "get task detail" but that often caused 412 "if match cannot be found error"
the web application WAS working (no changes was pushed for couple of months actually).
Currently, trying the "get task detail" after couple of minutes works perfectly fine.
I can only assume that it now takes longer for task to be created which causes this error, but I cant make the user sit idle for couple of minutes for this to finish.
any idea would be greatly appreciated.
thank you.