Hi Jerlyn,
A non-zero delay in the stop transfer call is only meant for transfers that are marked as persistent. In your case, since the transfer type is a regular file transfer, try specifying the delay as 0 and see if that fixes the issue.
Hope that helps,
David
------------------------------
David Wosk
------------------------------
Original Message:
Sent: Tue September 10, 2024 01:34 AM
From: Jerlyn Manohar
Subject: Error code 417 when trying to stop transfer using the aspera-transfer sdk API
Hi,
Running into a unique problem where when I try to stop a running Aspera transfer using its transferID, I get an error code 417 with a description which says 'Transfer ID is not persistent transfer.' However, when I query the TransferInfo to get all current running transfers, I can pretty clearly see my transferID in RUNNING status. Does anyone know what I am doing wrong?
Attaching image:
------------------------------
Jerlyn Manohar
------------------------------