Please what are the constraints in generating an itemId. I generate unique itemId for each item in the form, but the API keeps telling me invalid ID.
Google tends to check that feedback a lot when talking about missing information. In addition to all that you can also fill out a report in Google's issue tracker so that they investigate the inconsistencies when using the batchUpdate
method to update the ID.
References:
CodePudding user response:
When I had tested Google Forms API before, unless I'm mistaken, I had thought that the rule of item ID might be required to be 00000000
to 7fffffff
as the hex value. By the way, for example, 0
is used as 00000000
.
When I saw your showing request body, you are trying to use 4e637fjc
and njyf3izr
as the item ID. In the case of these values, the values are not hex values. I thought that by this, an error like Invalid ID
occurred.
But, I think that actually, this is not published in the official document. So, I would like to tell this.