fixes #3137 - API v2 - show error if optional nested object does not exist for nested route
squash this commit