Added error message for invalid recipe IDs.