REST API request time out

Ansum
New Contributor

Hi there,
We are trying to test data provider endpoints using Postman but they always fail with Error: connect ETIMEDOUT xx.xxx.xxx.xxx:50001.
I have read the documentation, manage to call Authentication API with Personal Access Token but no luck with other endpoints.
OneStream support has enabled calls in IIS and has no clue what's wrong.
For example:

POST "https://{OurBaseWebServer}:50001/onestreamapi/api/DataProvider/ GetAdoDataSetForSqlCommand?api-version=5.2.0"

Request Body:

{
"BaseWebServerUrl": "{OurBaseServerURL}/OneStreamWeb",
"ApplicationName": "OneStream Test",
"SqlQuery ": "SELECT * FROM Dim",
"DbLocation": "Application",
"ResultDataTableName": "ResultDataTableName",
"XFExternalConnectionName": "",
"CustomSubstVarsAsCommaSeparatedPairs": ""
}

Any idea?


  

2 REPLIES 2

tschilling
New Contributor III

Have you tried taking the port number out?

Removing the port returns 400 Bad syntax error