In Canon PIXMA, a cartridge isn't just a container with ink - it's a microchip with memory that keeps track of how many pages you've printed. When you refill the cartridge, the ink goes in, but the counter inside the microchip keeps counting down like the cartridge is original and brand new. The printer looks at that counter, not the actual ink level.
The solution depends on what you've got. If you're using original cartridges, you need to replace them completely with new ones (or compatible ones with automatic counter reset). If you're refilling ink in old cartridges, you'll either need to find a utility to reset the counter (they exist for a lot of Canon models), or buy cartridges with a built-in chip that automatically resets when you refill.
Easiest thing to try first is a restart: take out the cartridges, turn the printer completely off (not sleep mode, all the way off), wait about 5 minutes, turn it back on and put the cartridges back in. Sometimes that clears the error. But if it doesn't work - it's definitely the counter, and without replacing the cartridges or resetting the counter, the error won't go away.