SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

Bulk Update Limitations for Segment Profiles Sync's Selective Sync API

Issue

When using the Segment Public API Update Selective Sync for Warehouse and Space endpoint to configure which properties sync to a profiles warehouse, we encounter a 10-item limit per request. This becomes a challenge when managing hundreds of property-level overrides as configuration grows, especially in Infrastructure as Code (IaC) workflows.

 

Product

Segment

 

Environment

Segment Console

 

Cause

The 10-item limit per PATCH request is a design constraint of the Segment Public API. There is no bulk endpoint or configurable option to increase this limit.

 

Resolution

  • To update more than 10 items, send multiple PATCH requests, each with up to 10 items.
  • For large-scale configuration management, consider:
    • Modifying automation to calculate and send only the changes (deltas) rather than the full configuration.
    • Decoupling the update process from CI/CD pipelines by triggering an asynchronous function (such as AWS Lambda) to handle batching and rate limits outside of the main deployment workflow.
Have more questions? Submit a request
Powered by Zendesk