API broke after Upgrade to 8.2.2

marisolbritton
New Contributor III

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 3

JackLacava
Honored Contributor

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

Yours ends with "=5.2.0/.".

SH_INT
Contributor

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 

marisolbritton
New Contributor III

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