- This topic has 7 replies, 3 voices, and was last updated 5 days, 21 hours ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.
Home › Forums › FABRIC General Questions and Discussion › Date format error when extending slice
Hi,
I’m facing an issue when trying to extend my slice, as I get a pop up error regarding the date format. It seems that it’s not in the right format %Y:%m:%d %h:%m:%s %z. Doesn’t work with neither the calendar not manual typing, and I tried two browsers. Makes me think maybe it’s a small bug?
thank you in advance!!
Best,
Xavi
Hi Xavier,
Thanks for flagging this! I’ll check into it and let you know once I have an update.
Best,
Yaxue
Hi Xavier,
Until we resolve this on the portal, you can also extend your slice via the JH, checkout this example on Jupyter Hub: fabric_examples/fablib_api/renew_slice/renew_slice.ipynb
Best,
Komal
That’s great thank you!!
Hi Xavier,
The problem was due to how the date was being formatted when extending a slice. We’ve just fixed it so it now matches what the system expects. You should be able to extend your slice without any errors now.
Feel free to reach out again if anything else comes up!
Best,
Yaxue
Hi Yaxue,
I still get the same error but maybe it’s because the system didn’t get your changes yet? I will try again later.
Best,
Xavier
Either way with the API it worked as Komal suggested so I could extend my slice! 🙂
Hi Xavier,
Thank you for the feedback! The fix has already been deployed, so you should now be seeing the updated behavior.
From your earlier screenshot, I noticed that the “Lease End at” field was still showing the default time. The portal backend requires this value to include a timezone offset, but the default time displayed on the page does not include it. If the field isn’t modified, the old format is sent to the backend, which causes the request to be rejected.
As a quick test, could you please click the Lease End at field, adjust the time slightly (either using the picker or by typing), and then click Extend again?
Thanks again for your patience and for helping us track this down!
Best,
Yaxue