user1099939
user1099939

Reputation: 166

Google forms api - batchUpdate not working in very big form

I have a very big google form which has more than 200 fields.

While updating the form with batchUpdate, getting below error

 "error": {
                "code": 400,
                "message": "Batch update failed: update results in the schema exceeding the entry limit",
                "errors": [
                    {
                        "message": "Batch update failed: update results in the schema exceeding the entry limit",
                        "domain": "global",
                        "reason": "badRequest"
                    }
                ],
                "status": "INVALID_ARGUMENT"
            }

Why i am getting above error only for big form? Note: Smaller forms works fine. Is there any limit for google forms batchUpdate api?

Upvotes: 1

Views: 517

Answers (1)

Adding to the comment.

Depending on how your code works and the size of the Form. You could be looking at the read and writes limits that are applied directly to the Forms as suggested below:

If that is the case you could be looking to the option to apply exponential backoff.

I reviewed any reference about that particular error with Google Drive or Sheets API, where you see a limit on how many updates can be done or limits on cells. Limits for the batch updates might not be available and the best references available are from testing from the community itself, as suggested over this thread.

It seems that the limits for those might not be directly disclosed or available for the public as so many other might suggest for similar 400 errors .

Upvotes: 0

Related Questions