Wrong used & remaining disk space

That’s correct.

It likely will report a wrong free space until finish calculating. However, it should reject uploads if there is less than 500MB.
However if you have some other process which could use the same disk, you may have this issue