Modify generated code to handle error in case target URL does not exist or does not contain an image.
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence