Closed Eleirbag89 closed 3 months ago
Using the odata.etag
property is required when updating the plan details. Please update your code without using the ID in your If-Match header!
I had to put the 'odata.etag' in the entity, but also the header:
const remotePlanDetails = await client.api('/planner/plans/'+PLAN_ID+'/details').get();
plannerPlanDetails['@odata.etag'] = remotePlanDetails['@odata.etag'];
await client.api('/planner/plans/'+PLAN_ID+'/details').header("If-Match", plannerPlanDetails['@odata.etag']).update(plannerPlanDetails);
It works
Bug Report
Prerequisites
For more information, see the
CONTRIBUTING
guide.Description
Update Plan Details call fails
Console Errors:
Steps to Reproduce
Usage Information
Request ID - 3ef9c0b4-94c3-42cf-b492-fb46b07c7934
SDK Version - [SDK version you are using]