Forum Discussion

Rahul_Patil's avatar
Rahul_Patil
Copper Contributor
May 11, 2021

400 (Bad Request) Sharepoint update multilookup field.

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."
No RepliesBe the first to reply

Resources