nexart.iodocs

    NexArt MCP Troubleshooting and Security

    Fix connection, authentication, policy and verification problems with the NexArt MCP Server, and keep API keys and recovery identities safe.

    Know which state you are in

    StateHow you know
    Server reachableThe endpoint responds.
    Connector connectedYour client lists nine NexArt tools.
    Customer authorisedYour key has an approved policy revision.
    Hosted certification availableYour account is eligible and active, and the key has an approved policy and custody.
    Evidence certifiedThe record appears in CER History with a signed receipt.
    Owner evidence recovered and verifiedThe encrypted recovery download decrypts locally and every expected HMAC opening verifies against the original CER.

    Authorization header format

    Correct
    Authorization: Bearer nx_live_YOUR_API_KEY
    Incorrect
    Authorization: nx_live_YOUR_API_KEY          (missing Bearer)
    Authorization: Bearer  nx_live_YOUR_API_KEY  (two spaces)
    Authorization: bearer:nx_live_YOUR_API_KEY   (colon, no space)
    Authorization: "Bearer nx_live_YOUR_API_KEY" (quotes)

    Problems and fixes

    SymptomLikely causeFix
    Not connected / Couldn't reach NexArtWrong URL, client lacks Streamable HTTP, or network block.Use https://mcp.nexart.io/ and a client that supports remote HTTP servers.
    CREDENTIAL_INVALID or auth errorsHeader format, typo, revoked or rotated key.Re-enter the header exactly as above with a current key.
    Missing permissionsKey lacks read, write or verify, or is a legacy key.Create a new key with all three permissions.
    Revoked or rotated keyThe connector still holds the old key.Update the connector credential and approve a policy for the new key: policies are key-bound.
    Policy revision mismatchSent policy_revision differs from the approved one.Copy the exact revision from MCP Integration. Never guess.
    No approved policyConfiguration saved but not approved, revoked, or expired.Use Approve & enable.
    Visibility mismatchRequest visibility differs from the key's approved policy.Send the policy's visibility. The agent cannot override it; to change visibility, approve a new policy revision.
    HOSTED_CERTIFICATION_UNAVAILABLEHosted recording is not ready or temporarily disabled on the service.Verification and lookup tools still work. Check service status and any existing operation; do not retry with another key or account.
    Account or key not eligibleKey lacks explicit write authority, is a legacy or read-only key, or the plan has no available certification quota.Create a key with read, write and verify, check plan quota, then approve a policy for that key. Connecting to MCP never upgrades a key.
    Account status prevents certificationThe account or organisation is suspended, restricted or otherwise not in good standing.Resolve the account status in the dashboard or with NexArt. Do not work around it with another account.
    Confidential custody unavailableNo age recovery public key is registered for the approved policy, or encrypted custody is temporarily unavailable. Certification fails closed: no CER is created without durable encrypted custody.Register an age public key and re-approve if needed. If one is registered, check CER History for the executionId first, then retry later with the same executionId.
    Duplicate connectorsAn older local NexArt MCP is also installed.Select or keep only the hosted connector.
    Parameters must be numbersAn older recording schema (npm 0.2.0 or earlier).Upgrade to @nexart/mcp-server@0.3.1 or use the hosted server; both accept null for unavailable values.
    Unknown or uncertain outcomeTimeout or interrupted response.Check CER History by executionId. Do not retry until you know it was not recorded; reuse the same executionId.
    Record not in CER HistoryCall never succeeded, different key or account, or filters.Check the tool result, the key used and the account or organisation selected.
    Verification failsModified bundle, wrong receipt, untrusted signer key.Re-export the original evidence and check each result separately: see Retrieve and verify.
    Recovery download unavailableWrong owning account or record, or custody access unavailable.Check the account, record and Hosted MCP evidence section. Do not submit a second certification to fix a download failure.
    Local decryption failsWrong age identity, wrong artifact or damaged download.Use the identity matching the registered recovery public key for this record and download the encrypted artifact again. Never upload your identity for diagnosis.
    Decryption succeeds but openings fail or are missingRecovered evidence does not fully match the original CER commitments, or the wrong record was selected.Do not accept the recovery as verified. Match the original certificate hash and check every expected opening locally; see Owner recovery.

    Error codes and what the 0.3.1 message means

    From 0.3.1, a failed nexart_record_execution call returns one fixed message per class below. Raw exceptions, credentials, evidence, account existence and policy contents are never echoed. The structured result keeps its reasonCode and submission fields.

    ClassReason codesWhat to do
    Uncertain (checked first)submission: "outcome_unknown", OPERATION_REQUIRES_RECONCILIATION, RESULT_RETENTION_FAILED_RECONCILE, OWNER_PUBLISHER_OUTCOME_UNKNOWN, ATTEMPT_REQUIRES_OWNER_RECONCILIATION, ATTEMPT_RESERVATION_BUSY, DURABLE_OPERATION_UNAVAILABLE, OPERATION_STATE_CONFLICTReconcile: find the retained operation and CER History entry by executionId. Do not retry.
    Execution conflictEXECUTION_ID_CONFLICT, OPERATION_POLICY_CHANGEDAn operation with this executionId exists. Inspect it before anything else; do not use a replacement ID.
    Validation (not sent)INVALID_RECORDING_ARGUMENTS, INVALID_ARGUMENTS, RECORDING_INPUT_LIMIT, HOSTED_VISIBILITY_REQUIRED, INSTRUCTION_KIND_REQUIRED, HOSTED_METADATA_NOT_SUPPORTED, HOSTED_EXISTING_CER_RECOVERY_UNAVAILABLE, HOSTED_LOCAL_MODE_NOT_SUPPORTEDThe code is shown. Fix the arguments: set visibility explicitly, pair instruction with instructionKind, drop unapproved metadata, reduce size, do not use local mode on hosted.
    Authorisation (not sent)CREDENTIAL_INVALID, CREDENTIAL_REVOKED, CREDENTIAL_SCOPE, CREDENTIAL_SCOPE_LEGACY, ACCOUNT_INELIGIBLE, POLICY_NOT_FOUND, POLICY_DISABLED, POLICY_REVOKED, POLICY_EXPIRED, POLICY_REVISION_REQUIRED, POLICY_REVISION_STALE, EVIDENCE_TYPE_NOT_PERMITTED, VISIBILITY_MISMATCH, METADATA_NOT_PERMITTED, RECOVERY_RECIPIENT_MISSING, POLICY_AUTHORIZATION_DENIEDVisible text is deliberately generic ("authorisation was not granted"). Privately check the key (current, not revoked, read/write/verify), account eligibility and allowance, the exact approved policy revision and visibility, and the registered age recipient.
    Dependency (not sent)UPSTREAM_UNAVAILABLE, AUTHORIZATION_UNAVAILABLE, AUTHORIZATION_RESPONSE_INVALID, ACCOUNT_STATUS_UNAVAILABLE, SERVICE_NOT_CONFIGURED, HOSTED_CERTIFICATION_UNAVAILABLE, RECOVERY_CUSTODY_UNAVAILABLEThe code is shown. A required service, including the Node path or custody, is unavailable. Check readiness and any existing operation, then retry later with the same executionId.
    Anything elseUnrecognised or sanitised"MCP tool request failed." Inspect the operation before retrying; do not resubmit automatically.

    Account quota exhaustion has no separate public message: it surfaces as an authorisation refusal. Check your plan allowance in the dashboard. Invalid tool calls rejected by the client or schema (wrong types, unknown fields) never reach recording.

    Security rules

    If a key may be exposed, revoke it in the dashboard, create a new one, update the connector and approve a policy for the new key. See also Key management.