Emit error object for 401 when creating build.