Unexpected return value of get_transfer_session_state

Tagir Gumerov

Registered
Mar 28, 2018
3
1
3
Saint Petersburg, Russia
cPanel Access Level
Root Administrator
Hello,

I use get_transfer_session_state function and expect to see one of the following results
(in the returned JSON --> 'data' --> 'state_name'):
  • TRANSFER_PENDING
  • TRANSFER_INPROGRESS
  • RESTORE_PENDING
  • RESTORE_INPROGRESS
  • PENDING
  • COMPLETED
  • FAILED
But I get "RUNNING" and "COMPLETED".
I found this document, and there is also nothing about "RUNNING".

I don't understand where I'm wrong, explain, please.

P.S. I'm using CLI and output in JSON, cpanel v68.

Best regards, Tagir Gumerov.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello,

It looks like you are checking the overall status of the transfer itself (all accounts included as part of the transfer). Thus, the output you see corresponds the status of the transfer as a whole instead of the individual account's transfer status. Can you verify what method you are using to obtain the transfer session ID?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello,

It looks like the document was updated to include the RUNNING state per internal case DOC-10568.

Thank you.