linshenkx/prompt-optimizer
Documented errors, page 2 of 3. Back to linshenkx/prompt-optimizer
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
CONTEXT_ERROR_CODES.IMPORT_FORMAT_ERROR Invalid context bundle data | error_code | error | structured-output, json-parsing, truncated-response, ai-model |
| favorites payload exceeds hard limit of | validation | error | validation, size-limit, storage, quota |
| This PNG file does not contain Prompt Optimizer favorite… | validation | error | png, metadata, import, lossy-transfer |
| Variable at index has empty name. | validation | error | request-validation, data-cleaning, variable-value-generation |
| Anthropic API error ( ) | exception | error | anthropic, http-status, api-key, rate-limit |
CONTEXT_ERROR_CODES.INVALID_STORE Invalid document structure | error_code | error | structured-output, json-parsing, type-mismatch |
| No valid image evidence could be resolved for evaluation. | exception | error | evaluation, image, evidence, multimodal |
| Template " " not found or empty. | exception | error | template, configuration, prompt, variable-extraction |
| Unknown error | exception | error | openai, unknown-error, diagnostics |
| Favorite not found | exception | error | favorites, not-found, id-mismatch |
| Database transaction error for key | exception | error | storage, dexie, transactions, premature-commit |
| Image at index is missing base64 data | validation | error | validation, image-understanding, base64 |
| # label must not be empty. | validation | error | evaluation, validation, media, label |
| Image at index is invalid | validation | error | validation, image-understanding, type-mismatch |
delete Failed to remove item | exception | error | storage, indexeddb, dexie, delete |
| Failed to import favorites | exception | error | import, favorites, wrapper, error-handling |
| Image compare evaluation requires every compared snapshot… | validation | error | evaluation, image, compare, validation, evidence |
| Empty prompt.messages | validation | error | prompt-garden, messages, empty-content, validation |
| No templates available for type | exception | critical | template, seed-data, storage |
| Evaluation result is missing a valid overall score. | exception | error | evaluation, parsing, llm-output, validation |
| [ImageImage2ImageSession] PreferenceService is unavailable… | exception | error | pinia, session-restore, preferences |
| Compare test case # id must be unique. | validation | error | evaluation, validation, compare, duplicate-id |
| Failed to decode image data URL payload | exception | error | data-url, base64, filereader, parsing |
| variables[ ].position is missing a valid "originalText"… | validation | error | llm-output, schema-validation, variable-extraction, json |
| [BasicSystemSession] ImageStorageService is unavailable… | exception | error | pinia, session-restore, image-storage |
| Failed to parse LLM response | exception | error | llm-output, json, parse-error, variable-value-generation |
| Chrome built-in AI model is not downloaded. Open the model… | exception | error | chrome, gemini-nano, prompt-api, model-download |
| ${context}: ${(error as Error).message || String(error)} | exception | error | network, retry-exhausted, google-drive, remote-backup |
| Failed to decode image data URL | exception | warning | image, base64, browser-api, file-reader, prompt-garden |
| Failed to get category usage | exception | error | storage, favorites, category, persistence, wrapper |
| Missing variables | validation | error | prompt-garden, validation, variables |
| ${context}: ${response.status} ${message ||… | http | error | remote-backup, http-status, google-drive, s3 |
| # must provide either assetId or b64. | validation | error | evaluation, validation, media, missing-field |
| promptRef.kind must not be empty. | validation | error | validation, evaluation, discriminated-union |
| "data" property is missing or not an object | validation | warning | validation, message-optimization, stale-id |
| Electron API not available. Please ensure preload script is… | exception | error | electron, preload, ipc, environment |
| content must not be empty. | validation | error | evaluation, validation, empty-content, content-block |
| Garden response is not valid JSON | validation | error | json, prompt-garden, fetch, response-parsing |
| Generation result must have a "values" array. | validation | error | llm-output, schema-validation, json, variable-value-generation |
| output must not be empty. | validation | error | validation, evaluation, model-output |
| promptText must not be empty. | validation | error | validation, evaluation, prompt |
| variables[ ] is not a valid object. | validation | error | llm, json, schema, validation, variables |
| Compare evaluation requires at least two snapshots. | validation | error | evaluation, validation, compare, snapshot |
| Model is not enabled | validation | warning | llm, configuration, disabled-model, feature-flag |
| Missing optimizerTarget.subModeKey | validation | error | prompt-garden, required-field, validation |
| Cloudflare requires accountId in connection config | exception | error | cloudflare, account-id, config, missing-parameter |
| Image understanding request requires at least one image | validation | error | validation, image-understanding, empty-array |
| id must not be empty. | validation | error | evaluation, validation, test-case, id |
| Example image request failed | http | warning | network, http-status, image, prompt-garden, fetch |
| Failed to perform simple update | exception | error | storage, dexie, fallback, write |
| Cross-origin connection failed | exception | error | cors, openai, browser, network |
| Prompt must be a non-empty string | validation | error | validation, input-validation, prompt, mcp-server |
| Image request failed | http | error | http, network, image, fetch |
| Unsupported Garden response schemaVersion | validation | error | prompt-garden, schema-validation, version-mismatch |
| Generation result is not a valid object. | validation | error | llm-output, schema-validation, json, variable-value-generation |
| Unrecognized data structure | validation | warning | validation, message-optimization, empty-content |
| Compare evaluation requires at least one test case. | validation | error | evaluation, validation, compare, test-case |
| Target prompt is required | validation | error | validation, required-field, optimization |
write Failed to set item | exception | error | storage, indexeddb, quota, dexie |
| [ImageImage2ImageSession] PreferenceService is unavailable… | exception | error | pinia, dependency-injection, preferences, session |
| Iteration requirement must not be empty. | validation | error | evaluation, validation, iterate, prompt |
| Model provider cannot be empty | validation | error | llm, invalid-argument, validation |
| Image compare evaluation requires at least two snapshots… | validation | error | evaluation, image, compare, validation, evidence |
| Remote asset cleanup is not supported by this provider | exception | warning | object-store, cleanup, capability-check |
| Category already exists | validation | warning | favorites, duplicate, category, validation |
| Evaluation model key must not be empty. | validation | error | model-config, prompt, not-found |
| Image storage quota exceeded: projected size | exception | warning | quota, storage, size-limit, image-compression |
| Model not found | exception | error | model-manager, edit-form, concurrent-modification |
| Variables list must not be empty. | validation | error | request-validation, empty-input, variable-value-generation |
DELETE_PREDEFINED_VARIABLE Cannot delete predefined variable | validation | error | variables, predefined, delete |
| API error | exception | error | openai, api-error, http-status, provider-error |
| Favorite prompt content cannot be empty | validation | error | validation, content, favorites, storage |
| Unsupported language | validation | warning | i18n, validation, language, mcp-server |
| Iteration failed: Template not found or invalid | exception | error | template, validation, empty-content, iteration |
| Garden suggestions request failed | http | error | http-status, prompt-garden, api-request, network |
| variables[ ] is missing a valid "reason" field. | validation | error | llm-output, schema-validation, variable-extraction, json |
| variables[ ].position is missing a valid "occurrence"… | validation | error | llm-output, schema-validation, variable-extraction, type-coercion |
| Function mode must not be empty. | validation | error | model-config, message-optimization, not-found |
| Prompt asset version not found | validation | error | prompt-asset, version, validation |
| Image storage quota exceeded: projected count | exception | warning | quota, storage, limit, configuration |
| Image understanding user prompt cannot be empty | validation | error | validation, image-understanding, empty-prompt |
| Model metadata cannot be empty | validation | error | llm, configuration, model-config, validation |
| Prompt asset is not available for this favorite | validation | error | prompt-asset, validation, metadata |
| Prompt content must not be empty. | validation | error | request-validation, empty-input, variable-value-generation |
| Connection failed | exception | error | network, connection, openai, endpoint-unreachable |
| Favorite entry exceeds hard limit of | validation | error | validation, size-limit, storage, favorites |
| Failed to get favorite details | exception | error | storage, io, wrapper-error |
TEXT2IMAGE_INPUT_IMAGE_NOT_ALLOWED TEXT2IMAGE_INPUT_IMAGE_NOT_ALLOWED | validation | error | validation, text2image, request-payload, image-generation |
| VariableValueGenerationModelError(modelKey) | exception | error | model-config, model-not-found, variable-value-generation |
| Failed to clear storage | exception | error | storage, indexeddb, dexie, clear |
| Failed to reorder categories | exception | error | storage, category, reorder, favorites |
| variables.importer.errors.csvRequiredColumns | validation | error | csv, headers, file-import, validation |
| Generation model key must not be empty. | validation | error | request-validation, model-config, variable-value-generation |
| S3 download returned an unsupported response body | exception | error | s3, binary-data, response-body, aws-sdk |
| This model does not support text-to-image or image-to-image… | exception | error | model-capabilities, validation, image-generation |
| values[ ] is missing a valid "reason" field. | validation | error | llm-output, schema-validation, json, variable-value-generation |
| Cloudflare model search returned an unexpected response… | exception | error | cloudflare, response-format, schema, model-list |
| API returned invalid response: choices is empty or missing | exception | error | openai, chat-completions, response-format |
| At least one message is required | validation | error | validation, required-field, testing, messages |
| Invalid edit session | exception | error | form-state, edit-session, state-validation |