handle http error in geodata service