400 (Bad Request) Sharepoint update multilookup field.

Copper Contributor

Hello All, 

 When I am going to update multilookup field in sharepoint library using angular 10, I get the following error(working for single lookup field not working for Multilookup field). My payload is

 for e.g. var Payload= {
                     SubCircularIDId: { 'results': [10,32] },
                     BOBApproverNameId: { 'results': [421,19] }
}

 

  1. error: {code: "-1, Microsoft.SharePoint.Client.InvalidClientQueryException", message: {lang: "en-US",…}}
    1. code: "-1, Microsoft.SharePoint.Client.InvalidClientQueryException"
    2. message: {lang: "en-US",…}
      1. lang: "en-US"
      2. 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."
0 Replies