08-27-2024 10:20 PM - last edited on 08-28-2024 07:31 AM by JackLacava
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,'
08-28-2024 07:34 AM
Per 8.2 documentation, that URL should be https://{basewebserver}/api/DataProvider/GetAdoDataSetForAdapter?api-version=7.2.0
Yours ends with "=5.2.0/.".
09-02-2024 07:40 AM - edited 09-02-2024 07:44 AM
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
09-05-2024 08:22 PM
we actually had to remove the version, add workspace and load a token.