print an error if using GET