Errors and diagnostic messages

Use structured error codes and FileMaker error numbers when diagnosing failures.

Message or code Meaning Remediation
No adk.json found in this directory or any parent. Working directory is not inside an ADK project. Navigate to the project directory or create a project.
No FileMaker file is connected to this project. The project manifest contains no registered files. Connect an existing FileMaker Pro file.
Multiple files connected, none selected Target file is ambiguous across multiple registered files. Specify the target file name in your prompt.
authentication_failed / FileMaker 212 Account credentials were rejected. Files hosted on FileMaker Cloud also return this error, because FileMaker Cloud requires Claris ID sign-in, which ADK does not support. Verify credentials in FileMaker credentials. FileMaker Cloud is not supported; host the file on FileMaker Server 26.1.1 or later.
permission_denied / FileMaker 207 Account authenticated but lacks schema access. Use a Full Access account for native schema work.
locked / FileMaker 303 Another session holds a schema lock. Close Manage Database, relationships graph, or script workspace in FileMaker Pro.
credential_prompt_declined Native credential prompt was cancelled. Prompt the agent to initiate connection again.
keychain_denied macOS denied access to Keychain items. Grant Keychain permissions in Keychain Access.
run_timeout Operation exceeded time limits. Inspect reported phase and file reachability before retrying.
session_not_authorized Agent session lacks file authorization. Authorize agent access.
ADK local service unavailable FileMaker Pro is closed, file is not open, Agent Access is disabled, or port mismatch exists. Open file, enable Agent Access, and verify FM_DEV_SERVER_PORT. See Components and Web Viewer connection problems.
adk_connections_disabled / FileMaker 1640 The file is hosted on FileMaker Server 26.1.1 or later, and Allow ADK Connections is turned off. Turn on Allow ADK Connections on the server. See Work with hosted files.
host_version_unsupported / FileMaker 20604 The file is hosted on a FileMaker Server version earlier than 26.1.1. Host the file on FileMaker Server 26.1.1 or later with Allow ADK Connections turned on.
Components absent Web Viewer workflow requires ADK file components. Install ADK components in a file.
METADATA_PREFLIGHT_FAILED Data request targets an inaccessible or missing layout. Verify layout name and account access permissions.
UNKNOWN_FIELD_NAME Field is not present on configured data layout. Place field on layout and rerun Typegen.
UNKNOWN_PORTAL_NAME Portal object is missing or misnamed on layout. Inspect layout and verify portal object name.
FileMaker 401 Find returned no records. Use ignoreEmptyResult: true or refine query criteria.
FileMaker 106 Referenced table occurrence does not exist. Inspect relationships graph and correct occurrence name.

If an unlisted error occurs, prompt your agent to gather diagnostic output and logs. See Collect information for support.