proxy url error handling