linshenkx/prompt-optimizer
Documented errors, page 3 of 3. Back to linshenkx/prompt-optimizer
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Invalid import data format | validation | error | import, favorites, json, validation, schema |
| Responses API request failed | exception | error | openai, responses-api, streaming, server-error |
| Extraction result must have a "variables" array. | validation | error | llm, json, schema, validation |
| Failed to update category | exception | error | storage, io, favorites, update |
| Requirements must be a non-empty string | validation | error | validation, input-validation, requirements, mcp-server |
DATA_ERROR_CODES.ELECTRON_API_UNAVAILABLE ElectronDataManagerProxy can only be used in Electron renderer process | error_code | warning | validation, message-optimization, empty-array |
| ${providerErrorMessage} | exception | error | openai, responses-api, streaming, sse |
| S3 metadata lookup failed | exception | error | s3, aws-sdk, head-object, auth |
| User prompt is required | validation | warning | validation, input-validation, test-prompt, required-field |
| Chrome built-in AI is not available in this browser. | exception | error | chrome, prompt-api, unsupported-browser, feature-detection |
| Desktop remote storage IPC is unavailable | exception | critical | electron, ipc, preload, runtime-mismatch |
CATEGORY_ALREADY_EXISTS || 'Category already exists | validation | warning | favorite, category, duplicate, legacy |
FAVORITE_NOT_FOUND ${error.id} | exception | error | favorite, not-found, ipc, electron |
| Invalid or missing session ID | http | error | mcp, sse, session, http, notifications |
| values[ ] is not a valid object. | validation | error | llm-output, schema-validation, json, variable-value-generation |
| Remote delete is not supported by this provider | exception | warning | provider-capability, delete, remote-backup |
| variables.importer.errors.csvMinRows | validation | error | csv, file-import, validation, parsing |
| must not be empty. | validation | error | evaluation, validation, content-block, missing-field |
| Template must be a non-empty string | validation | error | validation, input-validation, template, mcp-server |
UNSUPPORTED_TEST_TYPE UNSUPPORTED_TEST_TYPE | error_code | warning | modelscope, test, unsupported-operation |
| Extraction result is not a valid object. | validation | error | llm, json, schema, normalization |
| Google Drive object not found | exception | error | google-drive, not-found, remote-backup |
| No valid messages after processing | validation | error | template, validation, prompt-testing |
| Failed to add category | exception | error | storage, io, favorites, wrapper |
| Import data contains favorite with empty content | validation | error | import, favorites, validation, content |
CONFIG_NOT_FOUND CONFIG_NOT_FOUND | error_code | error | config-not-found, config-id, validation, image-generation |
| Data must be an object | validation | warning | validation, model-config, message-optimization |
| Missing prompt.format | validation | error | prompt-garden, validation, enum-value |
| variables[ ] is missing a valid "name" field. | validation | error | llm, json, schema, validation, variables |
| variables[ ] is missing a valid "value" field. | validation | error | llm, json, schema, validation, variables |
| values[ ] is missing a valid "name" field. | validation | error | llm-output, schema-validation, json, variable-value-generation |
| Failed to get favorites | exception | error | favorite, storage, read, wrapper |
| # must not provide both assetId and b64. | validation | error | evaluation, validation, media, conflicting-fields |
| Model config cannot be empty | validation | error | validation, model-config, required-field |
| No valid response received | exception | error | openai, chat-completions, response-format, content-filter |
| values[ ] is missing a valid "value" field. | validation | error | llm-output, schema-validation, json, type-coercion, variable-value-generation |
| Failed to update favorite | exception | error | storage, write-failure, wrapper-error |
| No provider or model selected | validation | warning | form-validation, model-manager, required-fields |
| Google Drive folder creation did not return an id | exception | error | google-drive, folder-creation, missing-id |
| Generation result must have a "summary" string. | validation | error | llm-output, schema-validation, json, variable-value-generation |
| Chrome built-in AI model is still downloading. Please wait… | exception | warning | chrome, gemini-nano, download-in-progress, prompt-api |
| S3 object not found | exception | error | s3, not-found, object-key |
| Empty prompt.text | validation | error | prompt-garden, empty-content, validation |
| Failed to get statistics | exception | error | storage, stats, favorites, read |
| label must not be empty. | validation | error | evaluation, validation, label, content-block |
| Category not found | exception | error | favorites, not-found, category, stale-id |
| HTTP port must be between 1 and 65535 | validation | error | configuration, port, validation, mcp-server |
| Extraction result must have a "summary" string. | validation | error | llm, json, schema, validation |
| Google Drive resumable upload session did not return a… | exception | error | google-drive, upload, resumable-upload, missing-header |
API_KEY_REQUIRED API_KEY_REQUIRED | validation | error | siliconflow, api-key, connection-config, validation |
| Prompt must not exceed 50,000 characters | validation | error | validation, input-validation, prompt, limit |
| Failed to export favorites | exception | error | export, serialization, favorites, io |
| Google Drive folder creation did not return an id | exception | error | google-drive, folder-creation, nested-path |
| Failed to merge tags | exception | error | storage, tags, merge, favorites |
| Favorite entry must be an object | validation | error | validation, storage, corruption, favorites |
| Google Drive OAuth client is not configured | exception | error | google-drive, oauth, configuration, missing-env-var |
| Function mode (functionMode) cannot be empty | validation | warning | favorite, validation, required-field, breaking-change |
| Failed to add favorite | exception | error | favorite, storage, io, wrapper |
| mode must specify optimizationMode | validation | warning | favorite, validation, mode-config |
TAG_ERROR error.message || '' | exception | error | favorite, tag, storage, electron |
| Requirements must not exceed 10,000 characters | validation | error | validation, input-validation, requirements, limit |
| S3 endpoint, bucket, access key, and secret key are required | exception | error | s3, configuration, missing-credentials |
STORAGE_ERROR ${error.message} | exception | critical | favorite, storage, io, electron |
| Failed to set favorite prompt asset current version | exception | error | storage, write-failure, wrapper-error |
FAVORITE_ALREADY_EXISTS ${error.content} | exception | warning | favorite, duplicate, ipc, electron |
| Failed to delete category | exception | error | storage, io, favorites, delete |
| Google Drive remote backup is only supported in the Web… | exception | error | google-drive, desktop, runtime-unsupported, factory |
MODEL_NOT_SUPPORT_IMAGE2IMAGE MODEL_NOT_SUPPORT_IMAGE2IMAGE | error_code | error | modelscope, image2image, capability-mismatch |
| Failed to delete tag | exception | error | storage, tags, delete, favorites |
| Prompt content cannot be empty | validation | warning | favorite, validation, empty-input |
| Failed to rename tag | exception | error | storage, tags, rename, favorites |
| error.message || '' | exception | critical | favorite, migration, storage, upgrade |
CATEGORY_NOT_FOUND ${error.id} | exception | error | favorite, category, not-found, electron |
| Category ID list cannot be empty | validation | warning | validation, category, reorder, favorites |
TAG_ALREADY_EXISTS ${error.tag} | exception | warning | favorite, tag, duplicate, electron |
| Failed to add tag | exception | error | storage, tags, write, favorites |
| Image mode must specify imageSubMode | validation | warning | favorite, validation, image, mode-config |
| Source tag list cannot be empty | validation | warning | validation, tags, merge, favorites |
| WebDAV endpoint is required | exception | error | webdav, configuration, endpoint |
| Failed to get tags | exception | error | storage, tags, favorites, read |
| S3 list failed | exception | error | s3, list, aws-sdk, permissions |
| Target tag cannot be empty | validation | warning | validation, tags, merge, favorites |
| S3 upload failed | exception | error | s3, upload, aws-sdk, permissions |
| Tag name cannot be empty | validation | warning | validation, tags, empty-input, favorites |