# Encountering “The schema name ‘REST’ is invalid” error when refreshing the published SharePoint data on Tableau Server

**URL:** <https://community.cdata.com/t/encountering-the-schema-name-rest-is-invalid-error-when-refreshing-the-published-sharepoint-data-on-tableau-server/909>\
**Category:** Data Sources\
**Tags:** taco, article, tableau, sharepoint, tableau-server\
**Created:** [October 4, 2024, 9:11pm UTC](https://community.cdata.com/t/encountering-the-schema-name-rest-is-invalid-error-when-refreshing-the-published-sharepoint-data-on-tableau-server/909 "2024-10-04T21:11:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kristinab](https://avatars.discourse-cdn.com/v4/letter/k/dec6dc/32.png) [@kristinab](https://community.cdata.com/u/kristinab)\
**Post date:** [October 4, 2024, 9:12pm UTC](https://community.cdata.com/t/encountering-the-schema-name-rest-is-invalid-error-when-refreshing-the-published-sharepoint-data-on-tableau-server/909/1 "2024-10-04T21:12:28Z")

</div>

In this article we are going to explain how to overcome the “_The schema name ‘REST’ is invalid_” error, after publishing the data source configured with the CData Tableau Connector for SharePoint from Tableau Desktop to Tableau Server.

The CData Tableau connector must first be registered with Tableau Desktop and then with Tableau Server before it can be used to publish workbooks or flows.

Registering the connector in this case refers to installing the connector and properly placing the _.taco_ files that come in the installation folder of the connector, in the correct directories.

These files can be found in the lib folder of the installation directory. On Windows, they can be located at the following path: _ **C:\Program Files\CData\CData Tableau Connector for Microsoft SharePoint 2023\lib\** _

 ![ee602f64-e54b-4ca0-9489-664f53805b8a.png](https://us1.discourse-cdn.com/cdata/original/1X/1b2a2da47c22a2aeccc081c2564858af2860c49a.png)

**Note** that we have two types of _.taco_ files: Versions between 2020.1 and 2020.3 of Tableau Desktop are supported via the legacy connector file _(cdata.sharepoint.legacy.taco)_ and versions 2020.3 and higher are supported using the modern connector file _(cdata.sharepoint.taco)._

If you are using the earlier versions _(2020.1 and 2020.2)_ of Tableau Desktop, then you should copy the _ **cdata.sharepoint.legacy.taco** _ file into the **Connectors** directory within your **Tableau repository** , otherwise, no action is needed for the higher versions (refer to the driver’s documentation: [Register the Connector](https://cdn.cdata.com/help/RSK/tableau/pg_startinstalltableaudesktop.htm#:~:text=Mac%20user%20account.-,Register%20the%20Connector,-If%20you%20are)).

Next, to register with Tableau Server **only** the _ **cdata.sharepoint.taco** _ file should be copied into the Tableau Server installation directory (refer to the driver’s documentation: [Register with Tableau Server](https://cdn.cdata.com/help/RSK/tableau/pg_startinstalltableauserver.htm#:~:text=release%20as%20needed.-,Register%20with%20Tableau%20Server,-The%20connector%20must)):

_ **TableauServerRoot/data/tabsvc/vizqlserver/Connectors** _

Otherwise, if you accidentally place both files within the above-mentioned directory, you will probably encounter the _“Unable to proceed because of an error from the data source - … The schema name ‘REST’ is invalid”_ error when trying to access your published data source in Tableau Server:

 ![f641bded-f921-46f3-bda4-9b0b909c3e45.png](https://us1.discourse-cdn.com/cdata/original/1X/0fa574e5b9fc9bf70f57d043df82c6c3882bf0c7.png)

In that case, simply go to the Tableau Server installation directory and **remove** the _ **cdata.sharepoint.legacy.taco** _ file from there. Make sure to restart your Tableau Server services for the changes to apply, and the issue should be fixed.

Please reach out to [support@cdata.com](mailto:support@cdata.com) if this does not resolve the problem for you.
