Just to be clear, I identified 2 problems, probably not related but since I’m not sure (and are affecting the same thing on our side), I post both of them in the same topic.
I can see, using the CLI, that our production and staging environments IDs have changed. I tried to use the URL above with the “new” environment ID but I get the same error. I suspect that URLs with environment IDs are no longer valid?
Context
Please provide any relevant information about your setup.
You are right, we recently changed our routing system to deprecate the usage of this kind of URL, in favor of prettier one. (/:projectName/:environmentName/:teamName)
For your first issue, may I ask you where your link URL were generated?
if it was within the forestadmin app, may I know where ? If that’s the case, there is definitely a bug.
if it was a link stored anywhere else (Bookmarked, in a note, shared via email…)? If that’s the case, you may want to update your link using the friendly URL updated syntax. You should be able to re-generate the URL navigating within the forestadmin app and update your link accordingly.
Not sure if your second issue is or not related to this issue though.
I can see, using the CLI, that our production and staging environments IDs have changed.
environment IDs should not have changed. What kind of command of the CLI are you using ? I’ll investigate this on my end too.
Sorry for the inconvenience. Let me know if that helps
Just did a quick test on my end using forest environments and checked in our tools by I can’t find anything related to updated IDs on our end, but I didn’t .
Just to be sure, forest environments returns you different result than previously? I can’t find any recent change in the forest-cli package that could have introduce this kind of issue, and I’m not able to reproduce anything similar either .
You mentionned in your original message an error related to this, could you share it here, with the command generating the error? Eventually, a loom of the issue might be useful, if that’s possible on your end.
If there is anything more than can be useful to investigate this issue, don’t hesitate to share it here.
It used to be a /:renderingId in the URL, not an /:environmentId renderingId is related to both project, environment & team, which explain the (new) prettier URL.
That is the main reason to switch to this new format, since renderingId was not something really explicit.
This is a pretty recent change from our end (The deprecation of the previous URL format), and since your thread title mention the error name, I guess this will also serve others users!
Just a quick message to let you know that we added back support to the old url format (so your urls using ids will work again).
However please note that we plan to remove the support of old url format (using ids). When this time comes we will communicate on this, so I highly recommend to start migrating from old format to the new one (using projectName, environmentName and teamName).
We apologise for the inconvenience, and we hope that things are working for you now.