This happens when your Warehouses are completely full. You will be able to collect more resources when you have free space there. To get it, you can build larger Warehouses, increase the capacity of existing ones, or spend accumulated resources.