In order to fix, you can initiate a quota scan using the following command on the server:
dirquota quota scan /path:c:\path
Note the path c:\path should be replaced with the actual path to the folder on the server, not the UNC path. This command will return immediately, but it will start a background task tell windows to rescan the quotas defined on the path provided. Once complete it will update the quota with the correct usage. The time it takes will vary depending on the size of the drive and the number of files.
It appears that in Server 2019 this is now deprecated and you need to use the commands in the FileServerResourceManager Powershell module. To initiate a scan you need to start using the following command:
update-fsrmquota -path "C:\path"
To get quota information you can use get-fsrmquota. example:
get-fsrmquota -path "C:\path"
get-fsrmquota -path "C:\path"

