core: EINVAL is not a metadata URL