Fixed invalid url error message routing