Better Error Handling for missing params case