<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: The HTTP header ACCEPT is missing or its value is invalid - SharePoint List in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/339591#M15134</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I'm getting the following error message ["OLE DB or ODBC error: [DataSource.Error] SharePoint: Request failed: The remote server returned an error: (406) Not Acceptable. (The HTTP header ACCEPT is missing or its value is invalid.)]" and I appreciate the Power BI community forum feedback.&amp;nbsp;&amp;nbsp;However, I don't see that this conversation thread has a solution per se.&amp;nbsp;&amp;nbsp; Did you ever get this resolved?&amp;nbsp; Does anyone else have any instructions or advise to help me with this issue (406)?&amp;nbsp; If so, please help.&amp;nbsp;&amp;nbsp; Thanks,&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2018 00:45:18 GMT</pubDate>
    <dc:creator>gmohrman</dc:creator>
    <dc:date>2018-01-17T00:45:18Z</dc:date>
    <item>
      <title>The HTTP header ACCEPT is missing or its value is invalid - SharePoint List</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/138050#M8680</link>
      <description>&lt;P&gt;Receiving an error which I was hoping to receive some help with.&amp;nbsp; I am attempting to connect to a Sharepoint list - when loading data into the model I receive the following error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Failed to save modifications to the server.&amp;nbsp; Error returned: 'OLE DB or ODBC error: [DataSource.Error] SharePoint:Request failed:&amp;nbsp;the remote server returned an error: (406) Not acceptable. (The HTTP header ACCEPT is missing or its value is invalid.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 15:15:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/138050#M8680</guid>
      <dc:creator>mwand</dc:creator>
      <dc:date>2017-03-07T15:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: The HTTP header ACCEPT is missing or its value is invalid - SharePoint List</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/138052#M8696</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;receiving the following error when attempting to load data from a sharepoint list.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Failed to save modifications to the server.&amp;nbsp; Error returned: 'OLE DB or ODBC error: [DataSource.Error] SharePoint: Request failed: The remote server returned an error: )4-6_ Not Acceptable.&amp;nbsp;(the HTTP header ACCEPT is missing or its value is invalid.).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 15:18:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/138052#M8696</guid>
      <dc:creator>mwand</dc:creator>
      <dc:date>2017-03-07T15:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: The HTTP header ACCEPT is missing or its value is invalid - SharePoint List</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/138447#M8697</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="23142" data-lia-user-login="mwand" class="lia-mention lia-mention-user"&gt;mwand&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Could you please provide more information about your scenario?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;1. Do you connect to on-premises SharePoint list or SharePoint Online list in Power BI Desktop?&lt;BR /&gt;2. How do you connect to the SharePoint list in Power BI Desktop? And what authentication type do you use?&lt;BR /&gt;3. What type of columns do you have in SharePoint list?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Lydia Zhang&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 05:49:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/138447#M8697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-08T05:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: The HTTP header ACCEPT is missing or its value is invalid - SharePoint List</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/192388#M10796</link>
      <description>&lt;P&gt;Hi Lydia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also experiencing a similar error. I am trying toconnect to a SharePoint List via teh SharePoint Online List in Power BI. THe list opens okay in the Query Editor, howevever, when I close the Query Editor window and apply the changes, I get the aforementioned error message in mwand's original post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am connecting to the SharePoint List using Windows authentication (AD) user credentials I believe. The&amp;nbsp;columns contain mostly text and some numbers, but the datatype is general (any).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any way to fix or otherwise resolve this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 13:05:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/192388#M10796</guid>
      <dc:creator>timberwolf720</dc:creator>
      <dc:date>2017-06-12T13:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: The HTTP header ACCEPT is missing or its value is invalid - SharePoint List</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/339591#M15134</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm getting the following error message ["OLE DB or ODBC error: [DataSource.Error] SharePoint: Request failed: The remote server returned an error: (406) Not Acceptable. (The HTTP header ACCEPT is missing or its value is invalid.)]" and I appreciate the Power BI community forum feedback.&amp;nbsp;&amp;nbsp;However, I don't see that this conversation thread has a solution per se.&amp;nbsp;&amp;nbsp; Did you ever get this resolved?&amp;nbsp; Does anyone else have any instructions or advise to help me with this issue (406)?&amp;nbsp; If so, please help.&amp;nbsp;&amp;nbsp; Thanks,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 00:45:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/339591#M15134</guid>
      <dc:creator>gmohrman</dc:creator>
      <dc:date>2018-01-17T00:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: The HTTP header ACCEPT is missing or its value is invalid - SharePoint List</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/350908#M15475</link>
      <description>&lt;P&gt;Did anyone get this resolved?&amp;nbsp; If so, how ...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 20:14:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/350908#M15475</guid>
      <dc:creator>gmohrman</dc:creator>
      <dc:date>2018-02-02T20:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: The HTTP header ACCEPT is missing or its value is invalid - SharePoint List</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/353903#M15567</link>
      <description>&lt;P&gt;Did you ever resolve this issue? If so, please share.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 19:12:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/353903#M15567</guid>
      <dc:creator>gmohrman</dc:creator>
      <dc:date>2018-02-07T19:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: The HTTP header ACCEPT is missing or its value is invalid - SharePoint List</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/359994#M15738</link>
      <description>&lt;P&gt;Hi Lydia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also getting the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. In Power BI Desktop connecting to an on-premises sharepoint list&lt;/P&gt;&lt;P&gt;2. Using Windows Authentication&lt;/P&gt;&lt;P&gt;3. The list has the following column types:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Date and Time&lt;/LI&gt;&lt;LI&gt;Single line of text&lt;/LI&gt;&lt;LI&gt;Choice&lt;/LI&gt;&lt;LI&gt;Number&lt;/LI&gt;&lt;LI&gt;Multiple lines of text (plain text only, no RTF)&lt;/LI&gt;&lt;LI&gt;Person or Group (single select)&lt;/LI&gt;&lt;LI&gt;Calculated field which uses DATEDIF on two other Date and Time fields in the list&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Philip&lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2018 01:01:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/359994#M15738</guid>
      <dc:creator>phil_m</dc:creator>
      <dc:date>2018-02-18T01:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: The HTTP header ACCEPT is missing or its value is invalid - SharePoint List</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/532481#M20151</link>
      <description>&lt;P&gt;I receive this error also. I am connecting to an on-premise sharepoint list. The data loads in the query editor but flags this error upon attempting to load the data into the model?????????&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 10:28:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/532481#M20151</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-03T10:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: The HTTP header ACCEPT is missing or its value is invalid - SharePoint List</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/532793#M20156</link>
      <description>&lt;P&gt;Can a Microsoft MVP and/or PowerBI Specialist please help with this issue?!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 16:26:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/532793#M20156</guid>
      <dc:creator>gmohrman</dc:creator>
      <dc:date>2018-10-03T16:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: The HTTP header ACCEPT is missing or its value is invalid - SharePoint List</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/534022#M20176</link>
      <description>After some investigation work using fiddler our on-prem SharePoint doesn't accept the default header from the SharePoint list connector, if this connector had the custom header option that the web connector has I would be able to get our SharePoint to accept the header. Our SharePoint 2013 is pre sp1, are others getting this post sp1?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 04 Oct 2018 20:41:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/534022#M20176</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-04T20:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: The HTTP header ACCEPT is missing or its value is invalid - SharePoint List</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/572856#M20874</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, we've encountered this issue with the SharePoint List connector.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using Fiddler, I traced what the SharePoint List connector was doing.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;You can see the blackbox connector is requesting JSON to come back as JSON Minimal. Unfortunately SharePoint PRE SP1 does not support JSON Light. In the SharePoint &lt;A href="http://download.microsoft.com/download/0/A/8/0A870358-D451-488E-BF54-9616292E19EC/Microsoft%20Office%20and%20SharePoint%202013%20Service%20Pack%201%20Changes.xlsx" target="_blank"&gt;SP1 update&lt;/A&gt; it included an enhancment to add JSON Light support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You simply need to amend the headers being sent using the SharePoint REST API however and ask for verbose JSON which is supported pre SP1, you won't be able to use the SharePoint List Connector blackbox as this does not allow you to customise any request headers..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My solution was to use the web connector to send your own SharePoint REST API call. Authentication remains the same if you were using kerberos.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;URL: https://SITENAME/_api/web/lists/GetByTitle('YOUR_LIST_TITLE')/items?$top=5000&lt;/P&gt;&lt;P&gt;Header: ACCEPT application/json;odata=verbose&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;You should get data from the list but you'll get lots of metadat too, so you can just transform the data pick the columns you require.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 14:31:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/The-HTTP-header-ACCEPT-is-missing-or-its-value-is-invalid/m-p/572856#M20874</guid>
      <dc:creator>P3UAL</dc:creator>
      <dc:date>2018-11-26T14:31:25Z</dc:date>
    </item>
  </channel>
</rss>

