2 Replies Latest reply on Feb 3, 2017 10:08 AM by Paresh Shenoy

    REST API "Query Workbook Connection" - 500 Internal Server Error

    Paresh Shenoy

      I’m running into a “500 Internal Server Error” when I attempt to query a workbook connection using the REST API version 2.4 for Tableau 10.1. The request is issued as a Server Administrator user, so I don’t think it’s related to permissions. Below is the output of the curl command.

      Tableau API gurus -- can someone help to troubleshoot this issue? Thanks!

       

       

      curl -v "https://tableau-qe.demdex.com/api/2.4/sites/2c5cf1cb-60a5-4a46-be91-47e60121839f/workbooks/4e6c4ffe-57ec-4e07-b8ec-96f20baa5c5d/connections" -X GET -H "X-Tableau-Auth:Z39LlCVaWQFc2bcw5bgPREH4KpmIF3bx"

      *   Trying 52.207.3.91...
      * Connected to tableau-qe.demdex.com (52.207.3.91) port 443 (#0)
      * Initializing NSS with certpath: sql:/etc/pki/nssdb
      *   CAfile: /etc/pki/tls/certs/ca-bundle.crt
        CApath: none
      * SSL connection using TLS_RSA_WITH_AES_128_GCM_SHA256
      * Server certificate:
      * subject: CN=*.demdex.com,OU=Digital Marketing,O=Systems Incorporated,L=San Jose,ST=California,C=US
      * start date: Nov 04 00:00:00 2014 GMT
      * expire date: Jan 24 12:00:00 2018 GMT
      * common name: *.demdex.com
      * issuer: CN=DigiCert SHA2 High Assurance Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US
      > GET /api/2.4/sites/2c5cf1cb-60a5-4a46-be91-47e60121839f/workbooks/4e6c4ffe-57ec-4e07-b8ec-96f20baa5c5d/connections HTTP/1.1
      > User-Agent: curl/7.40.0
      > Host: tableau-qe.demdex.com
      > Accept: */*
      > X-Tableau-Auth:Z39LlCVaWQEc2bcu5bgPREH4KpmIF3bx
      >
      < HTTP/1.1 500 Internal Server Error
      < Content-Type: application/xml;charset=utf-8
      < Date: Wed, 01 Feb 2017 22:54:27 GMT
      < P3P: CP="NON"
      < Server: Tableau
      < X-UA-Compatible: IE=Edge
      < transfer-encoding: chunked
      < Connection: keep-alive
      <
      * Connection #0 to host tableau-qe.demdex.com left intact
      <?xml version='1.0' encoding='UTF-8'?><tsResponse xmlns="http://tableau.com/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tableau.com/api http://tableau.com/api/ts-api-2.4.xsd"><error code="500000"><summary>Internal Server Error</summary><detail>The server encountered an error and cannot complete your request. Contact your server administrator.</detail></error></tsResponse>