icCron
icCronv1.0
Overview
  • Introduction
  • Quick Start
  • Installation
Guides
  • Multi-Language Integration
  • Authentication & Security
  • Cron Expression Syntax
API Reference
  • REST API Reference
  • Outcall Consensus Rules
Errors
  • Errors & Troubleshooting
FAQ
  • Frequently Asked Questions
Back to Dashboard
  1. icCron
  2. Errors
  3. Errors & Troubleshooting
GitHub

Errors & Troubleshooting

Resolving consensus rejections, Dead Letter Queue (DLQ) transitions, and API error codes.

Errors & Troubleshooting

icCron provides detailed error tracking and automated circuit breakers to protect developer cycle reserves.

HTTP Status Codes

StatusError MeaningResolution
400 Bad RequestInvalid cron expression, non-HTTPS URL, or private IP addressEnsure 5-field syntax and public https:// target
401 UnauthorizedMissing or malformed Authorization: Bearer headerCheck that your API key is correctly prefixed with icp_cron_
403 ForbiddenThe requested job_id does not belong to the API key's projectVerify that you are accessing jobs inside the correct project
404 Not FoundJob ID does not existVerify job ID via GET /api/v1/cron/jobs
429 Too Many RequestsProject credit balance exhaustedTop up your credit pack via the icCron Dashboard
500 Internal ErrorCanister execution errorCheck canister status or report via Discord / GitHub

Consensus Mismatch (raw_reject_code: 2)

Symptom

Job logs show:

CallRejected { raw_reject_code: 2, reject_message: "No consensus could be reached. Replicas had different responses." }

Cause

Subnet nodes received differing response bodies from your webhook endpoint. For example, testing with httpbin.org/post echoes the caller's origin IP address, which differs for every subnet node.

Solution

Ensure your endpoint returns a static or deterministic response (e.g. {"ok":true}). If testing webhooks, use deterministic endpoints like https://httpbin.org/status/200.

Dead Letter Queue (DLQ) & AutoPausedDormant

When a job's target fails consecutively beyond max_retries:

  1. The job transitions into AutoPausedDormant.
  2. The timer slot is released, halting all cycle consumption.
  3. The latest response code, duration, and error snippet are recorded in the ring buffer.

How to Recover

  1. Fix the downstream service or update the job URL.
  2. Call POST /api/v1/cron/jobs/{id}/resume via the SDK or click Resume in the dashboard.
PreviousOutcall Consensus RulesNextFrequently Asked Questions
Edit on GitHubMainnet Canister: w2fxo-5qaaa-aaaan-q6zxq-cai

On this page

HTTP Status CodesConsensus Mismatch (`raw_reject_code: 2`)SymptomCauseSolutionDead Letter Queue (DLQ) & `AutoPausedDormant`How to Recover

Search Documentation

Quickly find developer documentation, API endpoints, guides, and tutorials.