Skip to main content
Question

Error 406 on Execute Reader

  • March 12, 2025
  • 0 replies
  • 21 views

We are using the 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 the schema file 
3. Examined the log file (verbosity 5) - here’s a snippet
2025-03-12T09:34:39.693-07:00    2    [   13|    5|   38]    [HTTP|Res: 17] HTTP/1.1 406 Not Acceptable, 0 Bytes Transferred
2025-03-12T09:34:39.708-07:00    2    [   13|    5|   38]    [HTTP|Res: 17] Error: HTTP protocol error. 406 Not Acceptable. Stack:    at rno240u.T.pX(String )
   at rno240u.AF.lF(String )
 

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

Thanks,

Sally

 

 

This topic has been closed for replies.