Hi, I am trying to update the custom field within a Project Online task. I tried using different approaches for updating the values but it does not seems to be working.
When I use Body 1: customFieldDictionary and pass a custom field dictionary it gives an error saying "Action 'Send_an_HTTP_request_to_SharePoint' failed: {"odata.error":{"code":"-1, Microsoft.SharePoint.Client.InvalidClientQueryException","message":{"lang":"en-US","value":"A value without a type name was found and no expected type is available. When the model is specified, each value in the payload must have a type which can be either specified in the payload, explicitly by the caller or implicitly inferred from the parent value."}}} clientRequestId: ******************************92c19 serviceRequestId: ************************37d07"
While using the Body 2, it does not throw any error but the custom field is not updated. Where as using the same approach for a regular field works fine.
site address: https://camecocorp.sharepoint.com/sites/testsite
Method: Patch
uri: _api/ProjectServer/Projects('Project_ID')/Draft/Tasks('Task_ID')
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.