ErrLookup › linshenkx/prompt-optimizer

linshenkx/prompt-optimizer

An AI prompt optimizer for writing better prompts and getting better AI results. · TypeScript · 586 source files

Analyzed at 3e677b1d9f on 2026-08-27. 284 documented errors.

Code / MessageTypeSeverityTags
Invalid app backup package manifest
validation error zip, manifest, schema-validation, backup-restore
Invalid favorites package manifest
validation error zip, manifest, schema-validation, favorites
Failed to serialize object for IPC
exception error ipc, serialization, json, bigint, electron
Failed to fetch image source
http warning image-download, http-status, fetch, cors
INVALID_RESPONSE_FORMAT
INVALID_RESPONSE_FORMAT
error_code error seedream, image-generation, response-parsing, api-contract
variables[ ] is missing a valid "position" object.
validation error llm-output, schema-validation, variable-extraction, json
Result evaluation snapshot testCaseId must match…
validation error evaluation, validation, test-case, snapshot
Invalid favorites JSON payload
validation error json, schema-validation, favorites, payload-validation
Canvas is not available
exception error canvas, browser-environment, ssr, share-export
Image result evaluation requires at least one output image…
validation error evaluation, image, multimodal, validation, evidence
Text comparison calculation failed
exception error ai-model, structured-output, empty-response, image-style
Iteration requires advanced template (message array format)…
exception error template-format, iteration, variable-substitution, message-array
favorites package is missing manifest.json
validation error zip, missing-file, manifest, favorites
Failed to delete favorite prompt asset version
exception error favorites, storage, persistence, data-corruption
error instanceof Error ? error.message : String(error)
exception error model-invocation, network, wrapper-error, variable-value-generation
PREDEFINED_VARIABLE_OVERRIDE
Cannot override predefined variable
validation error variables, predefined, validation
${templateId}
exception error evaluation, template, config, not-found
Unable to safely analyze remote snapshot assets because
exception error remote-storage, snapshot, manifest, cleanup
app backup package is missing app-data.json
validation error zip, missing-file, backup-restore, partial-export
Messages array cannot be empty
validation error validation, messages, llm, empty-array
favorites package is missing favorites.json
validation error zip, missing-file, favorites, partial-export
error.storage.read
[ImageMultiImageSession] Missing input image asset
exception error storage, images, session, indexeddb, data-loss
app backup package is missing favorites.json
validation error zip, missing-file, backup-restore, favorites
Failed to get template
exception error template-config, storage-io, wrapper-error, variable-value-generation
FileReader is not available to decode image payload
exception error environment, polyfill, filereader, base64, runtime
Unsupported Garden response schema
validation error prompt-garden, schema-validation, import, json
Optimized text must be a string
validation error structured-output, json-parsing, ai-model
Sub mode must not be empty.
validation error template, message-optimization, not-found
Desktop remote storage returned an unsupported binary…
exception error desktop-ipc, binary-data, serialization, remote-backup
CONTEXT_ERROR_CODES.STORAGE_ERROR
Failed to parse context store
error_code error validation, user-input, variable-naming
Failed to resolve evaluation image asset
exception error evaluation, asset, image-storage, missing-asset
IMPORT_ERROR
Failed to import variables
exception error import, variables, json, storage
resource validation failed
validation error backup-restore, validation, image-resources, data-integrity
testCaseId must not be empty.
validation error validation, evaluation, required-field
app backup package is missing manifest.json
validation error zip, missing-file, backup-restore, manifest
${context}: ${(lastError as Error)?.message ||…
exception error retry-exhausted, remote-backup, http-status, resilience
This HTML file does not contain Prompt Optimizer favorite…
validation error html, import, dom-parsing, sanitization
VariableExtractionModelError(modelKey)
exception error model-registry, configuration, variable-extraction
variables.importer.errors.invalidVariableName
validation error csv, variable-names, validation, regex, file-import
GENERATION_FAILED
DashScope API error
error_code error dashscope, api-error, image-generation, network
Failed to parse evaluation result: no valid score JSON or…
exception error evaluation, parsing, llm-output
Failed to perform atomic update after
exception error storage, dexie, transactions, concurrency, retry
VALIDATION_ERROR
Invalid data format: expected array of ImageModelConfig
validation error validation, import-export, json
${modelKey}
exception error evaluation, model, config, not-found
Test failed
exception error wrapper-error, test-prompt, model-call, image-input
Failed to send message
exception error llm, network, adapter, wrapper-error
Invalid function mode in import data: functionMode=
validation error import, validation, function-mode, type-mapping, enum
ElectronImageUnderstandingServiceProxy can only be used in…
exception critical electron, initialization, environment
Garden suggestions response must be an object
validation error response-validation, json-shape, prompt-garden
Image understanding service is not available for multimodal…
exception critical evaluation, multimodal, dependency-injection, configuration
Invalid numeric score for
exception error evaluation, parsing, score, type-coercion
API returned empty model list
exception error anthropic, models, api-error, empty-response
formatExecutionErrorMessage(error)
exception error evaluation, model-provider, network, retry
Evaluation result is not a valid object.
exception error evaluation, parsing, type-validation
Each message must have role and content
validation error validation, messages, llm, missing-field
Failed to parse LLM response
exception error llm, json, parse, model-output
Message content must be a string
validation error validation, messages, type-mismatch, llm
variables.importer.errors.unsupportedFormat
validation error vue, file-import, validation, typescript
[BasicSystemSession] ImageStorageService is unavailable…
exception error pinia, dependency-injection, image-storage, session
Cannot delete the current prompt asset version
validation error favorites, prompt-asset, versioning, validation
Evaluation mode configuration must not be empty.
validation error prompt, llm, wrapper, catch-all
Model provider metadata cannot be empty
validation error llm, configuration, model-config, validation
Not a PNG file
validation error png, image-processing, validation, file-format
Connection test failed
exception error llm, connection-test, network, api-error
Invalid favorite share payload
validation error schema-validation, json, versioning, import
modelManager.noModelsAvailable
exception error model-not-found, stale-state, i18n
Custom conversation test failed
exception error llm, streaming, error-wrapping
Original text must be a string
validation error template-validation, prompt-template, missing-user-role
[BasicSystemSession] Failed to persist test image
exception error image-storage, session, persistence
Unexpected API response format
exception error anthropic, model-list, response-format, api
Unknown evaluation type
validation error evaluation, validation, discriminated-union, typescript
Core services initialization failed
exception critical initialization, configuration, api-key, mcp-server
Failed to setup default model
exception error model-configuration, initialization, mcp-server
VALUE_TOO_LONG
Variable value too long
validation error variables, validation, size-limit
Cannot delete the last prompt asset version
validation error favorites, prompt-asset, versioning, validation
Evaluation result is missing score for
exception error evaluation, parsing, score, dimensions
Image understanding request cannot be empty
validation error validation, image-understanding, null-argument
customHeaderError
validation warning custom-headers, form-validation, http-headers
Image understanding service is not initialized
exception error dependency-injection, service-initialization, vision
Evaluation result is missing the "score" field.
exception error evaluation, parsing, score
Invalid message role
validation error validation, messages, role, llm
Unable to build model
exception error model-id, adapter, configuration
Cloudflare model search failed
exception error cloudflare, workers-ai, http-status, api-token
Provider not found
exception error stale-state, provider-selection, persistence
Model not found
validation error llm, not-found, model-config
Missing Prompt Garden base URL
validation error configuration, missing-url, prompt-garden, env-var
read
Failed to get item
exception error storage, indexeddb, dexie
Tag not found
exception error favorite, tag, not-found, electron
Compare snapshot # references unknown testCaseId " ".
validation error evaluation, validation, compare, snapshot, foreign-key
CONFIG_INVALID
Missing provider/model identity
error_code error config, validation, required-field
Workspace prompt must not be empty.
validation error message-optimization, llm, wrapper, catch-all
Iteration failed
exception error template, template-manager, iteration, wrapper-error
-32000
Bad Request: No valid session ID provided
http error mcp, json-rpc, session, http, handshake
modelManager.modelIdGenerateFailed
exception error model-manager, id-generation, slug-collision
Network error
exception error network, cors, fetch, anthropic
Health check failed
http error health-check, http, mcp-server, startup, kubernetes
Favorite metadata cannot contain inline image data URLs
validation error validation, metadata, base64, storage-limits
Image storage service is required to resolve evaluation…
exception critical evaluation, image, asset, dependency-injection, configuration
Evaluation image evidence
exception error evaluation, image, evidence, validation
[ImageImage2ImageSession] ImageStorageService is…
exception error pinia, dependency-injection, image-storage, session