Error: We couldn't connect to the data source. Please check your logon information. Here's the error message we got: The remote server returned an error: (401) Unauthorized - when using Odata

When trying to use the Odata link in the Microsoft Excel 2013 you may receive the message, "We couldn't connect to the data source. Please check your logon information. Here's the error message we got: The remote server returned an error: (401) Unauthorized." After selecting okay on this message, you then receive the message, "Unable to obtain list of tables from the data source."
This error message may occurr when outputting Attribute category names that begin with a number in the query you are using for Odata. This is outlined in the following article by Microsoft: https://msdn.microsoft.com/en-us/library/office/gg264773.aspx
  • Note: We provide links to third-party websites in an effort to help you resolve your issue. We are not responsible for the information on third-party websites and we cannot assist with implementing resolutions from these websites.

If you are experiencing this issue and you are not outputting the attribute category names, please click Chat with Support and reference this article.

Steps to Duplicate

  1. Go to Analysis > Information Library > search the affected query 
  2. Select the arrows to the left of the query name > select get odata link > copy the link
  3. Open a blank Microsoft Excel > select the data tab
  4. Select From Other sources > From OData feed
  5. Paste the link in the location of the data feed
  6. Enter the log on credentials
  7. Select Next > Receive error message

Environment

 Altru Arts & Cultural

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.