I was playing around with SharePoint Online Hub Sites today and noticed something interesting... You might be asking yourself what are Hub Sites?! Read all about them here: https://techcommunity.microsoft.com/t5/SharePoint-Blog/Organize-your-intranet-with-SharePoint-hub-sites/ba-p/174081 Note:...
This is a fun one I haven’t seen in a while so I figured I’d blog. Support issue today where user was trying to access listdata.svc
This worked at the web app URL root, the site collection root, but was giving a 500 error at a specific subsite. There was a subsite underneath the affected site and that one loaded up just fine as well..seemed to be isolated to one site.
This issue is caused by a couple of things (specifically if it’s isolated to a single site or list):
- Invalid characters in list (Either displayname of list or column names): https://support.microsoft.com/en-us/kb/905231
- List view threshold/list lookup threshold
- Anonymous user tries to access ListData.svc
- svc does not work with Discussion Lists
- A few others:
It was none of these..pretty small site with nothing too crazy for naming or anything like that. Turns out the user created a list and gave it the same displayname as another list on the site (URL’s different..sharing the same displayname). This caused the entire site to throw a 500 error when accessing it with listdata.svc. Even when explicitly going to a list on the site that wasn’t affected. Once the user switched one of the lists to <listname> (old) everything started working.