# Error 406 on Execute Reader

**URL:** <https://community.cdata.com/t/error-406-on-execute-reader/1049>\
**Category:** CData Drivers\
**Tags:** error-406, execute-reader, executereader, question, ado.net, quickbooks\
**Created:** [March 12, 2025, 4:37pm UTC](https://community.cdata.com/t/error-406-on-execute-reader/1049 "2025-03-12T16:37:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sallys](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@sallys](https://community.cdata.com/u/sallys)\
**Post date:** [March 12, 2025, 4:37pm UTC](https://community.cdata.com/t/error-406-on-execute-reader/1049/1 "2025-03-12T16:37:46Z")

</div>

We are using the [ADO.Net](http://ADO.Net) QuickBooks Online driver which we have used for many years. Recently we are no longer able to connect with the QBO Profit and Loss statement. We are able to connect with the Balance Sheet. The line of code that it’s erring on is this:  
Using rdr2 As QuickBooksOnlineDataReader = cmdIS2.ExecuteReader()

Here is what I’ve done:  
1. Tried on both Windows 11 and 10 computers  
2. Reviewed&nbsp;the schema file&nbsp;  
3. Examined the log file (verbosity 5) - here’s a snippet  
2025-03-12T09:34:39.693-07:00&nbsp;&nbsp; &nbsp;2&nbsp;&nbsp; &nbsp;[&nbsp; 13| &nbsp; &nbsp;5| &nbsp; 38]&nbsp;&nbsp; &nbsp;[HTTP|Res: 17] HTTP/1.1 406 Not Acceptable, 0 Bytes Transferred  
2025-03-12T09:34:39.708-07:00&nbsp;&nbsp; &nbsp;2&nbsp;&nbsp; &nbsp;[&nbsp; 13| &nbsp; &nbsp;5| &nbsp; 38]&nbsp;&nbsp; &nbsp;[HTTP|Res: 17] Error: HTTP protocol error. 406 Not Acceptable. Stack: &nbsp; &nbsp;at rno240u.T.pX(String )  
&nbsp; &nbsp;at rno240u.AF.lF(String )

If anyone has any suggestions, I’d appreciate your thoughts.

Thanks,

Sally
