improve error message for create camera