Skip to main content
Newcomer
August 28, 2024

API broke after Upgrade to 8.2.2

  • August 28, 2024
  • 3 replies
  • 0 views

Hello!

We are using the OS API to pull data to ADF using data connectors and cube views.  This has been working fine until we upgraded to 8.2.2 a few weeks ago.  Here's the error I'm getting in ADF.  Our URL actually didn't change.  Has anyone seen this or know how to fix it?  THANKS IN ADVANCE!

Operation on target Copy Actuals from HTTP Endpoint failed: ErrorCode=HttpRequestFailedWithClientError,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Http request failed with client error, status code 400 BadRequest, please check your activity settings. If you configured a baseUrl that includes path, please make sure it ends with '/'.
Request URL: https://xxx.onestreamcloud.com/onestreamapi/api/DataProvider/GetAdoDataSetForAdapter?api-version=5.2.0/.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Net.WebException,Message=The remote server returned an error: (400) Bad Request.,Source=System,'

 

3 replies

OneStream Employee
August 28, 2024

Per 8.2 documentation, that URL should be https://{basewebserver}/api/DataProvider/GetAdoDataSetForAdapter?api-version=7.2.0

Yours ends with "=5.2.0/.".

Newcomer
September 2, 2024

I'm pretty certain the 5.2.0 urls still work with 8.2.2. Difference is 7.2 endpoints support asynchronous calls, but if that is no a requirement the 5.2.0 calls are much simpler i.e. no need to pass a session 

Newcomer
September 6, 2024

we actually had to remove the version, add workspace and load a token.