# HtmlProvider error

**URL:** <https://forums.fsharp.org/t/htmlprovider-error/566>\
**Category:** General\
**Tags:** beginners\
**Created:** [November 19, 2018, 4:49am UTC](https://forums.fsharp.org/t/htmlprovider-error/566 "2018-11-19T04:49:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marvsperez](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.fsharp.org/marvsperez/32/412_2.png) [@marvsperez](https://forums.fsharp.org/u/marvsperez)\
**Post date:** [November 19, 2018, 4:49am UTC](https://forums.fsharp.org/t/htmlprovider-error/566/1 "2018-11-19T04:49:33Z")

</div>

Hi,  
I have a imple .fsx file to load news article from nasdaq. I’m getting an error

> The type provider ‘ProviderImplementation.HtmlProvider’ reported an error: Cannot read sample HTML from ‘[https://www.nasdaq.com/symbol/ibm/news-headlines](https://www.nasdaq.com/symbol/ibm/news-headlines)’: The ‘Value’=‘IBM,technology’ part of the cookie is invalid.

But this problem seems only to nasdaq, other site is okay. e.g. [Search - MarketWatch](https://www.marketwatch.com/search?q=aapl)

Here is my full code

```
#I "C:/Users/Marvin/.nuget/packages"
//#r "fsharp.data/3.0.0/lib/netstandard2.0/FSharp.Data.dll"
#r @"fsharp.data\3.0.0\lib\net45\FSharp.Data.dll"
open FSharp.Data
// https://www.nasdaq.com/symbol/ibm/news-headlines
// https://www.marketwatch.com/search?q=aapl
// Configure the type provider
type CompanyNewsHeadlines = HtmlProvider&lt;"https://www.nasdaq.com/symbol/ibm/news-headlines"&gt;
let news = CompanyNewsHeadlines.Load("https://www.nasdaq.com/symbol/ibm/news-headlines")

```

Appreciate guidance and help.  
Thanks!

---

<div class="post-metadata">

**Author:** ![jjcv2304](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.fsharp.org/jjcv2304/32/779_2.png) [@jjcv2304](https://forums.fsharp.org/u/jjcv2304)\
**Post date:** [July 31, 2020, 5:39pm UTC](https://forums.fsharp.org/t/htmlprovider-error/566/2 "2020-07-31T17:39:19Z")

</div>

For those facing the same problem check [stackoverflow the-type-provider-providerimplementation-htmlprovider-reported-an-error-the](https://stackoverflow.com/questions/56267337/the-type-provider-providerimplementation-htmlprovider-reported-an-error-the)  
I had similar issue with nuget web page and the answer there solved my problem
