1 Reply Latest reply on Nov 21, 2016 1:33 PM by Jonathan Drummey

    Code: 406 Reason: Not Acceptable

    Toby Erkson

      Here's a FYI for anyone who gets this error from a VizAlert.

       

      When testing a VA I got this response email:

      "Not Acceptable"?  Excuse me?

       

      Here's what the VA log file showed:

      1 - 2016-11-21 05:51:04 - [DEBUG] - _make_request - "GET /views/WorkbookAging-VizAlert_0/ForgottenWorkbookAlerts?&:format=csv&:refresh=y&:embed=y HTTP/1.1" 406 0
      1 - 2016-11-21 05:51:04 - [ERROR] - export_view - HTTP error getting vizdata from url http://myServer.com/views/WorkbookAging-VizAlert_0/ForgottenWorkbookAlerts?&:format=csv&:refresh=y. Code: 406 Reason: Not Acceptable
      1 - 2016-11-21 05:51:04 - [ERROR] - download_trigger_data - HTTP error getting vizdata from url http://myServer.com/views/WorkbookAging-VizAlert_0/ForgottenWorkbookAlerts?&:format=csv&:refresh=y. Code: 406 Reason: Not Acceptable
      

       

      Okay, still not helpful.  I opened the workbook and everything looked fine until I went to publish it.  Turns out my Data Sources >> Authentication had switched to "Prompt user" on my last publish:

      I switched it to embedded and then published it.  The next test execution was successful

       

      So if you get this error then this is something you should check.