Better error on empty URL.
Better error on empty id.