web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to update Proje...
Power Automate
Unanswered

Unable to update Project Online specific task custom fields

(0) ShareShare
ReportReport
Posted on by 13
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')

Body: 1. {"customFieldDictionary":[{"Key":"Custom_x005f_a103ca648d61ef1190d300155dc03000","Value":"DEL 2", "ValueType":"Edm.String"}]}
          2. {"Custom_x005f_a103ca648d61ef1190d300155dc03000":"DEL 2"}


 
Categories:
I have the same question (1)

Under review

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard