Skip to main content

Payload and Rate Limits

The payload size and message rate limits a Sync Kit Connected Lens on SPECS must stay within when it syncs data.

  • Snapchat: not supported
  • SPECS: fully supported
  • Camera Kit Web: not supported
  • Camera Kit Mobile: not supported
  • SnapchatNot supported
  • SPECSFully supported
  • Camera Kit WebNot supported
  • Camera Kit MobileNot supported

Platform details

  • Snapchat — Not supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Not supported.

  • Camera Kit Mobile — Not supported.

A Connected Lens built with Sync Kit must stay within the payload and message rate limits when it syncs data, in Lens Studio and on SPECS. When a Lens exceeds them, the Lens Studio Logger shows an error, and the session may disconnect.

Payload limit for one message

The maximum payload limit for a message is 100 KB in both Lens Studio and on SPECS.

Message rate limit

The rate limit is 350 messages per 5-second window, in Lens Studio and on SPECS. Each networked event counts as one message. To send storage property updates less often, set sendsPerSecondLimit on the property, or Sends Per Second Limit on a SyncTransform.