Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
georgekhalil
Regular Visitor

Connecting to a SharePoint List Office 365

I am receiving the following error when trying to Get Data from an Office 365 SharePoint List. This is a subsite under the root site collection, however connecting to the root site collection works with no errors and I can see the various lists.

 

DataSource.Error: OData: The feed's metadata document appears to be invalid. Details: DataSourceKind=SharePoint DataSourcePath=https://gkm2solutions.sharepoint.com/Finance/_vti_bin/ListData.svc/$metadata

3 REPLIES 3
teylyn
MVP

Hello,

 

Check that your list names don't have special characters or start with a number.

 

I had the same issue with an on premise SharePoint site. For me the problem went away when I changed a list name that started with numbers. Apparently the metadata file for the List Data service breaks when a list name starts with a number. 

 

http://<SitePath>/_vti_bin/listdata.svc/$metadata

 

If this returns an error instead of a long page with XML, check your lists for problematic names. 

 

I wrote it up in a blog post here: http://bit.ly/1OPeKwj

 

 

 

I'm having the same issue.  I have no problem connecting to the root of my O365 SP site or other sites with trying to use the OData connection.  Here's my connection string: https://xxxxxx.sharepoint.com/hr/_layouts/15/_vti_bin/listdata.svc

 

I can connect to: https://xxxxxx.sharepoint.com/_vti_bin/listdata.svc just fine and I can even connect to https://xxxxxx.sharepoint.com/audit/_layouts/15/_vti_bin/listdata.svc just fine.  I don't know why I cannot connect to the "hr" subsite.  I'm getting "OData&colon; The fee's metadata document appears to be invalid" message.

 

Any help would be appreciated.

 

Thank you.

Greg_Deckler
Super User
Super User

It's a bug, see this thread on Technet

https://social.technet.microsoft.com/Forums/en-US/63c57fd7-109a-4a2c-82a7-409494f19303/trouble-getti...

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors