Display an error in flash and logs when requesting invalid cart