Forum Discussion

manuelsidler's avatar
manuelsidler
Copper Contributor
Apr 14, 2020

[SharePoint 2019] OData Duplicate Properties Exception

We're currently migrating from SharePoint 2016 to 2019. In one of our lists we have a list column named Activities. Unfortunately on SharePoint 2019 we now get an OData exception when querying this list:

 

GET: https://xxx/yyy/_api/web/lists/getbyid('{4de912c2-5e6d-44c2-9d82-825287841608}')/items(1)?$select=Title,Activities
Request to 'https://xxx/yyy/_api/web/lists/getbyid('{4de912c2-5e6d-44c2-9d82-825287841608}')/items(1)?$select=Title,Activities' failed. {"error":{"code":"-1, Microsoft.Data.OData.ODataException","message":{"lang":"en-US","value":"Multiple properties with the name 'Activities' were detected in an entry or a complex value. In OData, duplicate property names are not allowed."}}}

 

 

The error only occurs on SharePoint 2019 (16.0.10357.20002). Works perfectly fine on SharePoint 2016 as well as on SharePoint Online.

 

Additional information:

  • List column type: Multi-text
  • Changing the list column type (eg. to single text) doesn't make any difference

 

Any ideas?

 

No RepliesBe the first to reply

Resources