Server url error handling and conversion to use hashes