Documentation

Support

Triggers

Limits

Find the limits and constraints for Triggers configuration, webhooks, and execution.
Read time 2 minutesLast updated 3 hours ago

The following tables list the limits and constraints that apply to Triggers configuration, webhooks, the Scheduler, and the dead letter queue.

Triggers

The following limits apply to trigger configuration and event processing.

Limit

Details

Triggers per event typeMaximum 32.
Event orderingProcessing of events in order is not guaranteed.
Delivery semanticsAt-least-once. Events are guaranteed to be processed at least once but may occasionally be processed multiple times.
Return valuesTriggers do not interact with the Cloud Code script or module return value. Execute game logic within the script or module.
Player contextCloud Code scripts or modules that rely on client-side authentication do not work due to the lack of a player context. Refer to Set up Cloud Code: Context attributes.
Execution timeoutsCloud Code script and module execution timeouts still apply.
Infinite loopsIf your trigger interacts with the same service that emits the event, define a filter to avoid infinite loops.

Scheduler

The following limits apply to Scheduler configuration and invocations.

Limit

Details

Schedule typeRecurring schedules only support cron expressions.
Minimum frequencyOnce per hour.
Maximum payload size1 KB.
Maximum active schedules900.
Monthly invocations25,000 invocations from set schedules per month (included in Cloud Code pricing). This covers approximately 30 hourly schedules.

API rate limits

The following rate limits apply to the Triggers and Scheduler APIs.

Limit

Details

AuthenticationOnly Service Account authentication is supported.
Triggers API600 requests per minute per Service Account.
Scheduler API600 requests per minute per Service Account.
Scheduler API List endpoint120 requests per minute per Service Account.

Webhooks

The following limits apply to webhook delivery.

Limit

Details

Supported HTTP methodsGET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS. Default: POST when not specified.
Supported content types
application/json
(default),
application/xml
,
text/plain
,
text/html
,
application/x-www-form-urlencoded
,
multipart/form-data
.
Request timeout30 seconds.
Application-level retriesMaximum 3 (exponential backoff, 1 s to 30 s). After exhaustion, events enter the dead letter queue.
Rate limit100 requests per second per project, 20 concurrent requests per project.
Webhook URL max length2,048 characters.
Maximum custom headers10 per webhook trigger.
Custom header nameAt most 256 characters per name. Names must be ASCII.
Custom header valueAt most 8,192 characters per value. Values must not be empty.
Payload template max length100,000 characters.
URL restrictionsMust be a publicly reachable HTTP or HTTPS endpoint. Localhost, private IP ranges, and link-local addresses are rejected at trigger creation time.

Dead letter queue

The following limits apply to dead letter queue storage and retention.

Limit

Details

Pending events capacity10,000 per project per environment.
Retention14 days. Entries are removed automatically after this period.