Score:0

Getting error while using project patch with updateMask attribute value

ke flag

We are trying to patch labels using https://cloudresourcemanager.googleapis.com/v3/projects/{projectid}?updateMask=labels.color007

We are getting provided error:

{
    "error": {
        "code": 400,
        "message": "field [update_mask] has issue [update_mask contains invalid path: labels.color007]",
        "status": "INVALID_ARGUMENT",
        "details": [
            {
                "@type": "type.googleapis.com/google.rpc.BadRequest",
                "fieldViolations": [
                    {
                        "field": "update_mask",
                        "description": "update_mask contains invalid path: labels.color007"
                    }
                ]
            }
        ]
    }
}

We are using the provided input json:

{
  "labels": {
      "color007": "violet"
  },
  "parent": "folders/proectid"
}

Appreciate if you could help us out

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.