#El_Chapalero-sub-schedules

1 messages · Page 1 of 1 (latest)

manic gorge
plain tangle
#

Ok, I did read that. But it specifies that you cant pass in phases if you do that, and recommends you do that in 2 API calls. This is what I tried but I am getting the following error when doing so Error: You cannot migrate a subscription that is already attached to a schedule

manic gorge
#

You would only pass in from_subscription when you first create the schedule from the subscription - once it's been created, the next request would be an update request using the schedule ID that was just created

plain tangle
#

Thats what I thought I did. Hmm, let me just double check

manic gorge
#

If you have a request ID I can also take a look

plain tangle
#

ok, where do I find the request id?

manic gorge
plain tangle
#

Thank you

#

actually before I do that, I just noticed that its actually my call to create the subscription schedule with the from_subscription field.

#

That must mean the subscription already has a schedule attached to it when created by default?

manic gorge
#

No, a subscription wouldn't have a schedule created by default. If it already has a schedule that means you must have added it as some point earlier

plain tangle
#

hmm ok

#

This is the request id req_55kg61xS0Rk9uA

manic gorge
ivory onyx
#

Hi @plain tangle I'm taking over, give me a sec to catch up

plain tangle
#

no worries

#

just trying something quickly

ivory onyx
#

Sure, let me know if you need any help!

plain tangle
#

Ok, so basically what im trying to do is add a subscription schedule to an existing subscription. Right now, I am getting an error when I included a start_date on my first phase saying Error: You can not modify the start date of the current phase. but when I remove it, I get an error saying I need a start date.

ivory onyx
#

can you send me the request IDs?

plain tangle
#

sure

#

req_oNEvSzax9rruwP

#

req_IhhbvTKkv0beHS

ivory onyx
#

OK, you need to specify the start_date of the 2nd phase, which should equals to the end_date of the 1st phase.

plain tangle
#

ah....

#

you know, that makes a lot of sense

#

let me see

#

Ok, I seem to be doing it now, but I am still getting an error for not setting the start_date

#

req_QIZBSmjVY7hCUl

#

Are you able to take a look at that one?

ivory onyx
#

can you include start_date=1651195672 in phase 0?

plain tangle
#

Sure, what does that timestamp signify?

ivory onyx
#

This is the existing start_date timestamp for phase 0

plain tangle
#

Ok, that seemed to work

#

I guess I do need to include the existing start date?

#

Ok I got it

#

Thank you for the help!

ivory onyx
#

No problem, happy to help!