Hi Ahmed,
I found out what was going on. For some reason, the paclet ResourceSystemClient wasn't complete. Then I needed to reinstall it by running
PacletUninstall["ResourceSystemClient"]
(to erase the "corrupted" paclet) and
PacletInstall["ResourceSystemClient"]
to install it again. Now the function "ResourceData" is working as it was supposed to.
Thank you!