StillMade AIDeveloper docs
Browse documentation · SDK 0.1.0

Errors and troubleshooting

Understand contract failures, sandbox limits, and import errors.

Failure codes

CodeAction
MANIFEST / SCHEMA / PACKAGECorrect the reported field or envelope
TYPEMatch the declared type, bounds, and exact output keys
REFERENCEUse an existing input or completed earlier recipe output
RUNTIME_UNAVAILABLESelect an implemented runtime or operation
PERMISSION / CONTEXTDeclare the matching context read scope and supply the correct snapshot
CONDITIONUse a compatible single-output pass-through contract
LIMIT / TIMEOUTReduce source, sample size, memory use, or computation
CANCELLEDThe run was stopped; preserve original inputs
TESTS_REQUIRED / BEHAVIORAdd meaningful fixtures or fix the mismatch
WORKER_REQUIREDRun browser JavaScript through a disposable worker
CONFLICT / STALE_TESTSReload or retest the exact current source
IMMUTABLE_RELEASEChoose a new version for changed content
SETUP_REQUIREDAccount operations need the configured host services

Common issues

A portable image reference is not decoded pixel data. The host must resolve it before a pixel-processing function runs. Missing secondary context values cannot be invented by offline tests; provide concrete fixture values. Returning extra output keys fails even if other output values are correct.

Diagnose in order

  1. Validate the manifest and package.
  2. Run each fixture through the real sandbox.
  3. Inspect sample outputs and their declared roles.
  4. Rehearse the connected Project Type.
  5. Test actual supported media in the host workspace.

Every SDK error code

Generated from the SDK source (194 codes). The message is one example; the actual message names the exact field or limit.

CodeExample messageRaised in
ADAPTERDeclare the conversion’s type and meaning.adapter-registry, universal-resolver
ADAPTER_CONTEXTThe … needs a persistent project identityconnection-adapters
ADAPTER_LIMITConvert at most 100 items at a time.connection-adapters
ADAPTER_PERMISSIONDeclare context.….read to use this connectionconnection-adapters
ADAPTER_PINThis connection adapter changed. Review the connection before running itconnection-adapters
ADAPTER_TYPEThe connected output must be …connection-adapters, csv-table
AGENT_CONTRACTDeclare an independently versioned control adapternative-agent-contract
APPEARANCEUse plain theme rules; CSS escapes, nesting, filters and color blending need adaptation.appearance
APPLICATION_ARTIFACT_HOSTSupply host-owned authorization and bounded byte-fetch callbacks.browser-application-artifacts
APPLICATION_GUEST_ARGUMENTUse the declared lifecycle arguments only.browser-application-guest
APPLICATION_GUEST_BUSYWait for the active application operation.browser-application-guest
APPLICATION_GUEST_DATAApplication messages need plain JSON fields, without accessors.browser-application-guest
APPLICATION_GUEST_INPUTOperation inputs must match the mounted inputs.browser-application-guest
APPLICATION_GUEST_INSTALLEDApplication registration is already installed or the target is invalid.browser-application-guest
APPLICATION_GUEST_LIMITApplication messages must be bounded by at most 4 MiB.browser-application-guest
APPLICATION_GUEST_MOUNTApplication mount must acknowledge mounting only.browser-application-guest
APPLICATION_GUEST_OPERATIONDeclare 1–32 application operations.browser-application-guest
APPLICATION_GUEST_REGISTRATIONRegister one application adapter before mounting.browser-application-guest
APPLICATION_GUEST_RESULTAdapters return output values only, never host receipt or verification fields.browser-application-guest
APPLICATION_GUEST_SIGNALUse an AbortSignal when supplied.browser-application-guest
APPLICATION_GUEST_STATESupply the host state revision.browser-application-guest
APPLICATION_INTEGRITYApplication artifact byte count differs from its reference.browser-application-artifacts
APPLICATION_SOURCE_LIMITApplication sourcebrowser-application-artifacts
APPLICATION_SOURCE_REFERENCEUse a browser application manifest.browser-application-artifacts
APPLICATION_STATE_LIMITApplication state artifactbrowser-application-artifacts
APPLICATION_STATE_REFERENCEApplication scopebrowser-application-artifacts
ARCHIVEExpected a complete single ZIP archiveportable-archive
ARCHIVE_PATHUse safe relative regular-file pathsportable
AUDIO_SCORE_HOSTChoose a supported Audio Score operationaudio-score-host
BEHAVIOROutput differs from expected fixture. Expected …; received …testing
BROWSER_APPLICATION_UNAVAILABLENo trusted desktop browser application executor is installed. A bundle or mounted interface is not execution.browser-application-execution
BUSYJavaScript runners are busy. Try again shortly.sandbox-node
BYOK_PAYMENT_HOSTChoose a supported payment capabilitybyok-payment-host
CANCELLEDConversion stopped.adapter-registry, browser-application-execution, browser-application-guest and 7 more
CANVAS_GENERATION_HOSTCanvas media Blocks require version … of their trusted generation hostcanvas-generation-host
CANVAS_NODE_HOSTInvalid versioned Canvas node registrationcanvas-node-host
CANVAS_WORKSPACECanvas needs its scoped snapshot and navigation bindingcanvas-workspace-host
CAPABILITY_BINDINGTranscription audio must reference the exact declared audio or video port (a video's sound is transcribed)capabilities
CAPABILITY_EXPECTATIONInclude expectations for the exact declared outputcapabilities
CAPABILITY_INPUT… must be a saved image (asset, version and URL)capabilities
CAPABILITY_LIMITnegativePrompt must be at most 2,000 characterscapabilities
CAPABILITY_MANIFESTExpected a host-mediated capability manifestcapabilities
CAPABILITY_OUTPUTA generated script contains schemaVersion and text onlycapabilities, json-schema
CAPABILITY_SCHEMACapability values must be finitecapabilities, json-schema
CAPABILITY_SETTINGS… does not accept a last framecapabilities, generation-catalog
CAPABILITY_TYPETranscription takes one persistent audio or video input and one language inputcapabilities
CODEJavaScript must contain 1–262144 bytesjavascript
COMFY_BACKENDExpected ComfyUI object_infocomfyui
COMFY_BINDINGChoose named Block inputs and outputs before creating the packagecomfyui-import, comfyui
COMFY_CYCLEComfyUI workflows cannot contain cyclescomfyui
COMFY_EXPECTATIONEvery declared output needs a typed expectationcomfyui
COMFY_FILEUse a host-generated PNG basename without paths, URLs or annotationscomfyui
COMFY_IMPORTComfyUI import accepts finite JSON values onlycomfyui-import
COMFY_JSONChoose a ComfyUI API-format JSON workflowcomfyui-import
COMFY_MANIFESTProvide an explicit ComfyUI Block manifestcomfyui-import, comfyui
COMFY_MODELUse an installed safetensors checkpoint basename; paths, URLs and other model formats are unsupportedcomfyui
COMFY_NODENode … (…) has unexpected or missing inputs. Connection settings, credentials, code and dependencies cannot be embedded.comfyui-import, comfyui
COMFY_OUTPUTDecoded image metadata is requiredcomfyui
COMFY_REFERENCEImage inputs require an exact existing node and output indexcomfyui
COMFY_SCHEMAComfyUI values must be finitecomfyui
COMFY_SDK_PACKAGEThis is already a StillMade SDK package. Import it directly without converting its workflow.comfyui-import
COMFY_TYPEComfyUI accepts images, text and bounded numeric controlscomfyui
COMFY_UI_WORKFLOWThis is a ComfyUI visual workflow export. In ComfyUI, use Export (API) or Save (API Format), then import that JSON. Visual node positions and widget values cannot be safely converted without the exact node definitions.comfyui-import
CONFLICTCollection removeddocument-operations, document-store, shared-view
CONNECTION_BINDINGBind every declared input to a real schema property.connected-app
CONNECTION_CLIENTProvide the existing authenticated host request service.connection-client
CONNECTION_CONFIGURATIONConfigure the exact original connected task.configured-connection
CONNECTION_CONTRACTDeclare the exact connected-app contract, schemas and typed bindings.connected-app
CONNECTION_EXPECTATIONUse one bounded result expectation.connected-app
CONNECTION_OUTPUTDeclare one typed result for this operation.connected-app
CONNECTION_PINAn exact backend task/version/schema pin is required.connected-app
CONNECTION_SCHEMAThis task needs a compatible object input schema.connected-app
CONNECTION_SOURCEUse the exact private catalog-issued Python source.connected-app
CONNECTION_TASKChoose a declared task operation.connected-app-view
CONNECTION_VERSIONUse the catalog-issued immutable definition hash.connected-app
CONTEXTProvide valid project shotscontext
DEPENDENCY_RESTRICTEDBundle adapted dependency code into src/run.js and record each dependency as a licensed source; runtime installation is unavailableportable
DESKTOP_EXECUTIONA desktop execution mapping requires a stateless JavaScript or recipe package with declared desktop tools.desktop-execution
DESKTOP_EXECUTION_REQUIREDThis Block requires its approved desktop executor. Running its JavaScript or recipe alone does not execute the native tool.desktop-execution, runtime
DESKTOP_RECEIPTInvalid native execution request.desktop-execution, package-jobs
DESKTOP_TOOLDeclare one to eight approved desktop toolsdesktop-tools
DOCUMENT_DRAFTUse a JSON object documentdocument-drafts
DOCUMENT_IDENTITYUse a JSON object documentdocument-identity
DOCUMENT_SOURCE_CONFLICTProject source changed underneath the shared draft. Review and explicitly reset the shared draft for everyone, or supply a compatible source.document-store
DOCUMENT_STOREUse a bounded named document fielddocument-store
FIRST_PARTY_SOURCEUse the exact published first-party package before creating a remix.remix-policy, testing
HOST_SERVICESAnimated assets requires its version 1 generation and dialog hostanimated-assets-host, asset-generation-host, blueprint-host-services and 47 more
INPUT_SOURCE… does not allow … information. Choose a permitted source.input-source-policy
JOB_EXECUTORUse a trusted host executorpackage-jobs
JOB_LIMITReturn final outputs within 32 cooperative turnsjavascript
JOB_PROGRESSUse explicit complete/total units or omit progressjavascript
JOB_RESULTReturn final Block outputs, not a guest pending-job envelopepackage-jobs
JOB_SUBSCRIBERUse a progress listenerpackage-jobs
JOB_TIMEOUTUse an execution deadline between 1 ms and 15 minutespackage-jobs
LICENSE_BLOCKEDMissing applicable upstream LICENSE, COPYING or NOTICE; preserve every ancestor notice and scoped licenseportable-github, portable, remix-policy
LICENSE_RESTRICTEDConflicting file-level SPDX license at …portable-github, portable
LIMITSource exceeds static review complexityadmission, browser-application-execution, capabilities and 14 more
LINEAGEDeclare lineage {parents:[{id,version,digest}],changes}portable
LOCAL_WORKER_REQUIREDPair a reviewed local worker for this application. A browser or desktop download alone cannot execute its native source.runtime
MANIFESTInvalid JavaScript manifestjavascript
MEDIA_DESCRIPTION_HOSTDescribe Media requires a supported image reference and optional hintmedia-description-host
MEDIA_RENDER_INPUTFinal render requires a versioned timeline, settings, and Block source.portable-media-contracts
MEDIA_RENDER_LIMITFinal render exceeds the approved timeline limits.portable-media-contracts
MEDIA_RENDER_RECEIPTThe final render receipt is invalid.portable-media-contracts
MEDIA_UPLOAD_HOSTImport Media requires its version 1 host interfacemedia-upload-host
MOCK_HOST… has the sections …mock-host
MODULE_BUNDLEOnly module Blocks and frame views with assets are bundled this waymodule-bundle
MODULE_FILE… is missing from the local filesmodule-node, module-runtime
MODULE_HOST_UNAVAILABLELocal files need a file reader.mock-host
MODULE_HOSTEDA module Block identity is requiredmodule-hosted
MODULE_PERMISSIONThis Block did not declare … in permissions.capabilitiesmodule-hosted
MODULE_RESULTThe module host returned an unexpected resultruntime
NATIVE_APPLICATION_AUTHORITYUse the scoped project execution checkpoint.runtime
NATIVE_APPLICATION_UNAVAILABLENo trusted native application executor is installed. A bundle or mounted interface is not execution.native-application-execution
NATIVE_BINDINGDeclare scoped trusted bindingsnative-workspace-contract
NATIVE_CALLBACKWorkspace callback is unavailablenative-workspace-contract
NATIVE_CONTRACTUnsupported native … schemanative-workspace-contract
NATIVE_DEPENDENCYNative host dependency …@… is unavailablenative-workspace-contract
NATIVE_HOSTInvalid installed host provider declarationsnative-host-providers
NATIVE_MODULEChoose an explicitly versioned native modulenative-workspace-contract
NATIVE_REGISTRATIONDeclare registration and ownership-scoped cleanupnative-workspace-contract
NATIVE_REGISTRYDeclare an exact dependency alias to another workspacenative-workspace-contract
NATIVE_SERVICEHost service …@… is unavailablenative-workspace-contract
NATIVE_UPDATEThe atomic state host is unavailablenative-workspace-contract
PACKAGEDeclare a Block package and its manifest.define-block, javascript, testing
PATCHInvalid operation pathdocument-operations
PERMISSIONThis conversion needs permission.adapter-registry, context, contracts and 2 more
PIPELINE_ASSET_HOSTCanvas requires its version 1 asset persistence hostpipeline-asset-host
PIPELINE_NODE_GENERATION_HOSTPipeline generation nodes require version 1 of their trusted generation hostpipeline-node-generation-host
PIPELINE_RUNTIME_HOSTPipeline requires version 1 of its runtime hostpipeline-runtime-host
PORTABLE_ACTIONmedia.generate needs 1–50 items.portable-media-actions
PORTABLE_ACTION_RESULTThe host action result does not match its declared Block output.portable-action-results
PORTABLE_ENTRYRuntime entry must match the canonical source fileportable
PORTABLE_FILESInclude bounded UTF-8 source and legal evidence filesportable
PORTABLE_FORMATPortable attribution requires retained portable evidenceportable
PORTABLE_UIDeclare manifest.ui (generated controls; [] is valid for context-only input)portable
PRESENTER_INPUTPresenter placement requires a version 1 Whiteboard and finite placement.portable-media-contracts
PRESENTER_RECEIPTPresenter pose assets require exact source, sheet, slice, and version receipts.portable-media-contracts
PREVIEW_MODULEA preview requires an exact Block identity and versionnative-preview-contract
PROJECT_FLOW_SNAPSHOTSupply a project Flow snapshot.project-flow-contract
PROJECT_FLOW_TARGETSupply a structured project Flow target.project-flow-contract
PROVENANCEThe job must retain exactly its reviewed user answers.package-jobs, sandbox-node, universal-resolver
PYTHON_CONTRACTChoose supported annotated scalar inputs and result.python-connection
QUALITY_INPUTQuality analysis accepts 1–16 exact asset versions.portable-media-contracts
QUALITY_RECEIPTEvery planned asset requires one retained analysis receipt.portable-media-contracts
RECIPEExpected recipe schema 1, at most 64 steps, and output bindingsrecipe
REFERENCEInvalid referencerecipe
REFERENCE_SELECTIONChoose a bounded field browser.reference-source
REFERENCE_SOURCEUse an exact snapshot identity.reference-source
REQUIREMENTChoose a declared input requirement.interactive-requirements, package-jobs, sandbox-node and 1 more
RESOLVERChoose an exact asset version for scoped resolution.universal-resolver
RUNTIMESandbox memory configuration was not appliedjavascript
RUNTIME_RESTRICTEDLocal admission supports recipes, isolated JavaScript, declarative capabilities and ComfyUI workflows. Hosted execution still requires account review.local-admission, portable
RUNTIME_UNAVAILABLEThis host does not provide interactive Block questions. Supply this input before running.javascript, recipe, runtime
SCHEMANumbers must be finitecontracts, semantic-contracts
SEMANTICResolve meanings from at most 200 pinned Block manifests.package-semantics, semantic-contracts
SHARED_TEXT_CLOSEDShared text session is closedshared-text
SHARED_TEXT_INPUTShared text must be a stringshared-text
SHARED_TEXT_LIMITShared text exceeds its character limitshared-text
SHARED_TEXT_STATEShared text data contains trailing bytesshared-text
SHARED_WORK_CONTRACTDeclare a bounded, versioned shared-work schema.shared-work
SHARED_WORK_INPUTShared-work requests require bounded JSON arguments.shared-work
SHARED_WORK_OPERATIONChoose a declared shared-work operation.shared-work
SOURCE_DECLARATIONOriginal sources must retain an implementation snapshot alongside legal evidenceportable
SOURCE_MISMATCHGitHub returned a different tree from the pinned commitportable-github
SOURCE_PINGitHub must confirm the exact source commit and its treeportable-github, portable
SOURCE_RESTRICTEDComplete repository tree is required for license verificationportable-github
SOURCE_UNAVAILABLEPinned GitHub evidence unavailable (…); installation is blocked until it can be verifiedportable-github
STALEThe conversion source expired or is no longer current. Refresh it before trying again.adapter-registry, universal-resolver
STATE_BEHAVIORState differs from expected fixturetesting
STATE_LIMITBlock state exceeds 64 KiBstate
STATE_MIGRATIONAll migration declarations together must fit within 64 KiBstate-migrations
STATE_REQUIREDDeclare a valid scoped state contractstate
STATE_TESTFixture state requires a declared stateful Blocktesting
STATE_UNDECLAREDThis Block does not declare persistent statejavascript, package-jobs
STATE_VERSIONState does not match this Block’s declared state schemastate
STOCK_PROVENANCEThe stock source has no approved license policy.portable-media-contracts
STOCK_RECEIPTThe stock acquisition receipt is invalid.portable-media-contracts
TESTDesktop fixtures need a name and typed input/output contracts.testing
TESTS_REQUIREDAdd a sample image and typed output expectations before reviewing the import. Samples have not run yet.comfyui-import, portable, testing
TIMEOUTJavaScript exceeded its cumulative 500 ms execution limitjavascript, local-admission, package-jobs and 2 more
TYPE… values must be an objectcontracts, javascript, recipe
VIDEO_ASSETS_HOSTPrompt recommendations require an image URL and text promptsvideo-assets-host
VIEWView JavaScript exceeds review complexityview
VIEW_STATEShared edit exceeds 800,000 bytesshared-view
WORKER_REQUIREDRun JavaScript blocks through a workerruntime
WORKFLOW_APPROVALWorkflow approval must be a required direct-user decision with no saved default or context source.semantic-contracts, workflow-approvals
WORKFLOW_EVENTUse a named event with a bounded identity.workflow-events
WORKSPACE_APPLICATIONInvalid workspace application adapterworkspace-application
WORKSPACE_NAVIGATIONInvalid Block navigation declarationworkspace-navigation
WORKSPACE_PRESENCEPresence must be an objectworkspace-sync
WORKSPACE_ROUTEInvalid standalone workspace declarationworkspace-application
WORKSPACE_SYNCInvalid workspace changeworkspace-sync
YOUTUBE_HOSTYouTube host version 1 is requiredyoutube-host