Resource and providers

Is the error message correct?