How to refesh a route that is in an error intermediate state


I would like to update the model for a parent route and then update a child / nested route accordingly. The nested route uses the parent model and gets it with modelFor. Calling refresh on the parent route throws an error “You didn’t provide enough string/numeric parameters to satisfy all of the dynamic segments”.


I think the issue is that the error only occurs when the child route is in an error substate when being refreshed. (This is the case because the parent route does not provide sufficient information and needs to be updated. After update the child should get out of the error state and load.)