Better error handling for http route mismatches