Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

$Expand on list lookup gives following error: Guid should contain 32 digits with 4 dashes

$
0
0

Hi,

I recently added a new list to my SharePoint application. I use a lookup to this list from another list. In my devlopment enivorment this works flawlessly. However in production (patched with the new version) it does not work. I get the error: Guid should contain 32 digits with 4 dashes.

I get the same error if I run this request over rest:

"https://{site}.com/sites/{sitname}/{appname}/_api/Web/Lists/GetByTitle('ActivityInstanceList')/Items?$select=ActivityPersonLookup/Name&$expand=ActivityPersonLookup"

The restcall works for development enviorment (reinstalled often from scratch with no data) but gives the error in production (data is retained between all versions).

Does anyone have a clue where to start looking to resolve this issue? Are there some ID missmatches? Do I actually have a GUID field with wrong value? Is it just something I have to edit on the lists running in production ?

Thanks for your time reading this.



Viewing all articles
Browse latest Browse all 8089

Trending Articles