What version of the REST API is your Tableau Server running?
Check out the refernce table here and make sure you are calling the correct version - https://onlinehelp.tableau.com/current/api/rest_api/en-us/help.htm#REST/rest_api_concepts_versions.htm
My Tableau Server version is 10.0.2 so I tried with API 2.3 but it doesn't work.
Maybe I miss something else ?
How are you making the call? In a script or are you testing in Postman or similar? Did your authentication calls work?
The Serverinfo function isnt available on Tableau 10.0
and only became available in 10.1
This is why you can see it working on Tableau Online, but not on your server
According to documentation this method does not require authentication: https://onlinehelp.tableau.com/current/api/rest_api/en-us/help.htm#REST/rest_api_ref.htm#Server_Info%3FTocPath%3DAPI%252…
I am doing get request in script. I tested also by using curl
<?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.1.2.xsd"><error code="404003"><summary>Resource Not Found</summary><detail>Unknown resource '/2.0/serverinfo' specified in URI.</detail></error></tsResponse>
Thank you Glen,
that makes sense now