Updated select dynamic to throw proper exception so we can catch and use to create specialized error response.