Pass the menu and read the page

SignupFolio

API payload size limits: 3 checks before signup sync

Before syncing signup data, check each tool's request size, block count, and field limits, then measure the full body you will send.

Key takeaways

  • You have read the request limits for every tool in the chain, including overall payload size, field-by-field limits, and any block or row limits.
  • You have noted the smallest limit in the chain and set your cap below it.
  • You have measured the largest real signups, including a long free-text answer, and recorded the byte count.
  • You have a written rule for oversized fields: truncate and flag, store elsewhere, drop and log, or hold for review.

Why the payload is the first thing to check

When a signup form feeds a CRM, a mailing list, or a spreadsheet, the sync looks simple on the whiteboard. A person signs up, your script builds a small record, and one API call sends it on. The trouble starts when the sync grows. You add fields, you start sending signups in groups instead of one at a time, or one text box collects far more words than you expected. At that point the request body, which is the payload, can cross a size limit that the receiving tool enforces, and the tool turns the request away.

Payload size is easy to miss because it rarely shows up in testing. Your test signup has a name, an email address, and a short note. Real signups bring long free-text answers, pasted links, and sometimes a long list of selected options. A sync that passed every test can fail on the first busy day, and the failure often looks like a random gap in your data rather than an obvious error.

This post covers three size maximums to look up and write down before you build the sync. We use published examples from three products: Notion, Google Sheets, and Twilio Segment. Your receiving tool will have its own numbers, and those numbers matter more than the ones here. The method is what carries over. Find the limits, measure your real data against them, set your own cap below the lowest one, and decide in advance what happens to a record that is too big.

Maximum 1: Notion's overall and block limits

Notion's request limits page describes property limits and overall payload limits. The overall rule is the one to read first. The page says that payloads have a maximum size of 1000 block elements and 500KB overall, in addition to the property limits.

Two numbers sit in that sentence, and both can matter for a signup sync. The first is the size of the request in kilobytes. The second is the number of block elements. If your sync writes each answer from a signup form as its own block, a form with many questions creates many blocks. Count them as you plan the sync, not after the first rejection.

Now the property side. The same page explains that a request that exceeds any of these limits returns a validation_error error code with an HTTP response status of 400, and that the response includes more specific details in its message property. That error body is useful. Log it with the record that failed, so you can see whether the problem was block count, size, or a single field.

The page also gives a concrete field example. It notes that if a connection reads a URL from an external system and puts it into a Notion page property, the connection should have a plan for URLs longer than the length limit of 2000 characters. Signup forms collect URLs all the time, from company websites to social profiles to pasted links. A plan could mean truncating the value and flagging the record, storing the full value somewhere else and linking to it, or sending the record without that field and logging the skip. Pick one before launch.

For Notion, then, your first maximum has three parts to set: the overall size of each request, the block count in each request, and the length of any URL property (2000 characters). Write all three into your sync notes.

Many growth teams send signups to a spreadsheet first, because it is easy to share and easy to check. If you write signups to Google Sheets through the API, the Usage limits page for Google Sheets gives a clear number to plan around. The page says: "To speed up requests, we recommend a 2 MB maximum payload."

Read that sentence carefully. It is a recommendation, and its stated purpose is to speed up requests. It is not a claim that a request over 2 MB will be refused. That distinction changes how you design the sync. Test how larger writes behave before relying on them. Use the recommendation as a batching target, then measure write times with your own data.

To apply this maximum, work out how many signups you normally send in one write. Then check whether that group, with all of its fields, stays comfortably under 2 MB. Pay attention to the fields most likely to grow. A short name and email are small. A free-text field where people write paragraphs is not. If one column routinely holds long text, your batch size should account for that column, not just the number of rows.

For a signup sync, a practical rule is to write in batches with a row cap that you can explain. Start with a conservative cap, watch the timing and the size of real writes for a few days, and raise the cap only if the numbers justify it. Keep the batch logic in one place so you can change it without rewriting the sync.

Maximum 3: Twilio Segment's 32 KB limit for normal requests

The third maximum is the smallest of the three, and it is the one most likely to catch a signup sync off guard. The HTTP API source page for Twilio Segment sets a maximum of 32 KB for each normal API request.

Thirty-two kilobytes is a small budget. A signup event with an identifier, a timestamp, an email address, a few traits, and some form answers can use a good share of it, especially when a single answer is long. Several fields together can push a request over the limit, so measure the whole request.

Notice the word "normal" in the limit. Confirm which request type your code uses before applying it. If you are unsure, treat 32 KB as the working limit for the whole request.

The same page says: "Requests that exceed acceptable limits may be rejected with HTTP Status Code 429." The sentence is general. It does not say that every size violation returns a 429, and it does not describe the exact response for each case. What it does tell you is that a rejected request can come back with a status code your code must handle. Build the sync so that a non-success response is logged, retried according to your own policy, or held for review. Do not let a rejected signup vanish silently.

To apply this maximum, measure the size of a real request, not an estimate. Serialize a typical signup request and a large one, and check the byte count of each. Then look at the largest text fields your form allows. If a single answer can be long enough to push the request past 32 KB, decide how you will handle it. Truncating the answer, moving it to a separate record, or sending a note that the full answer is stored elsewhere are all reasonable choices. Silent loss is not.

Set your cap below the lowest limit in the chain

Now put the three maximums together. Your signup data may pass through more than one tool. A form might post to a collection endpoint, which forwards to a CRM, which then writes a row to a sheet. Each hop has its own limit, and the chain is only as roomy as its smallest limit. For the examples in this post, the smallest overall figure is the 32 KB limit for each normal request from Twilio Segment, but your chain may differ. The point is to find the smallest number in your own chain, not to assume the biggest one applies.

Once you have that number, set your own cap below it. Leave room for growth, for extra fields your team may add later, and for encoding overhead. A cap that is a little under the limit is safer than a cap that matches it exactly, because a small change to the form can push a record over the edge.

Write the cap in one place. A config value or a constant in your sync code is fine, as long as everyone on the team can find it. A cap buried in three different scripts will drift apart, and then one of them will fail while the others keep working.

Measure real signups before you launch

Estimates are not enough. Pull a sample of real signup records from your current form or from a test form that mirrors it, and measure the payload each one would produce. Include the largest records you can find. If your form has a free-text field, paste a very long answer into it and measure again. Users will do that, and some of them will paste things you did not expect, including whole articles, long lists, and links with long query strings. Use the signup load test checklist when planning the wider test.

Measure the total payload, not just the visible fields. The request includes keys, extra fields, and any wrapper your tool requires. A record that looks small on screen can carry extra bytes in its structure. Serialize the exact body your code will send, and count its bytes. Store the result next to your cap, so the next person can see how close real data came to the limit.

It also helps to measure the number of items in each request. For Notion, the block count matters as well as the byte count. For Twilio Segment, measure the total size of each request your code sends, including batched events, and compare it against 32 KB.

Decide what happens to a record that is too big

Every sync needs a rule for oversized records, and the rule should be written before launch. There are four common choices, and each has a cost.

The first choice is to truncate the field. Keep the first part of the text, cut the rest, and add a flag so someone knows the record was shortened. This keeps the signup, but it loses data, so the flag matters.

The second choice is to store the full value somewhere else, such as a file, a document, or a separate record, and link to it from the main record. This keeps the data complete, but it adds a dependency that must also be maintained.

The third choice is to drop the field from the sync and log that it was dropped. This is simple, but it is only acceptable if the field is not important to the people who use the data.

The fourth choice is to hold the whole record for review. Your code writes it to a queue or a log, and a person decides what to do. This is slow, but it is the safest choice for signups that matter, such as enterprise leads or paid registrations.

You can mix these choices by field. A long free-text answer might be stored elsewhere, while an oversized URL might be truncated and flagged. The important part is that each rule is deliberate and documented. An unplanned failure is far harder to explain to a sales team than a shortened answer with a flag beside it.

Handle rejections without losing signups

Even with good caps, requests will sometimes fail. A new field, a bad value, or a change on the receiving side can cause a rejection. Your sync should handle that without losing a signup.

Start by checking the response on every call. Do not treat a request as successful just because your code did not throw an error. Read the status code. For Google Sheets, read the response from the write call and log any error it returns. Review signup API errors before retrying alongside your error handling.

Next, keep a copy of every record until it is confirmed. A simple approach is to write each signup to a holding table or file first, mark it as pending, send it to the tool, and mark it as sent only after a success response. If a request fails, the record stays pending, and a retry job can pick it up. Retries need care. If a request times out after the receiving tool has already accepted it, a retry can create a duplicate. Use a stable identifier for each signup so duplicates are easy to spot and merge.

Finally, alert someone. A rejected batch that nobody notices is a silent loss. Send a short message to the team when the number of failed records passes a threshold you choose. Include the record identifier and the error message, not the full personal data, so the alert stays useful and private.

A short checklist before you launch

Before you turn on the sync, confirm each of these items.

  • Every response is checked, and every error is logged with its status code and message.
  • Failed records stay pending and can be retried without creating duplicates.
  • Someone receives an alert when failures pass your threshold.
  • The cap lives in one place, and the team knows where to find it.

None of these steps is hard on its own. The risk comes from skipping them, because a signup sync usually works well until the day a real user sends something large. Setting these three maximums early, and writing down what you will do when a record exceeds them, turns a likely surprise into a routine part of the job.

Illustrative example: test the whole batch

Suppose an illustrative batch contains 5 signup records. Serialize all 5 together, including the keys and wrapper, then measure the resulting request. Add a long answer to 1 record and measure again. If the batch exceeds your chosen cap, hold it for review or reduce the batch and measure again before sending.

Where to start today

If you have a sync already running, start with an audit rather than a rewrite. Find the receiving tool's request limits, pull the largest recent signups, and compare. If a record is close to a limit, you have found a risk before it became a gap in your data. If nothing is close, write the numbers down and move on.

If you are building a new sync, put the maximums in the first draft of the design. Add the cap, the oversized-field rules, and the error handling to the same document as the field list. A sync designed this way is easier to test, easier to hand off, and easier to explain when someone asks why a signup is missing.

Related guides: API burst limits: 3 numbers to check before a spike · API rate limits: 3 models for signup syncs compared · Signup workflow limits: 5 to check before you launch.

Questions before you launch

Should you measure fields or the whole request?

Measure the whole serialized request, including its keys, extra fields, and wrapper. Field checks help identify what made it large.

Should an oversized request be retried unchanged?

Apply your oversized-record rule before retrying a request that exceeds your cap. Keep the record pending until you resolve it.

Sources and check date

Related posts

More posts