Concurrent rows appending in Google Sheets API v4
<p>We are using <b>Google Sheets API v4</b> for getting and appending rows in a sheet. There is an issue when several requests for rows appending are sent simultaneously, e.g. 4 concurrent requests. Sometimes such requests are intersected and some of the appended rows are overwritten by another requests. For instance if each request has only 1 row for append and 4 such requests are sent at the same moment, only 3 rows are created. This issue doesn't appear in case of sequential requests. Is it known issue? Is there any workaround how we can achieve that rows are not overwritten by concurrent append requests?</p>

<p>For sending an append request we are using batch update request endpoint:<br>
<code>POST https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}:batchUpdate</code></p>

<p>The body of batch update request has "appendCells" property with appropriate append cells request data:</p>

<ol>
<li>"sheetId": appropriate sheet ID;</li>
<li>"rows": only one row;</li>
<li>"fields": "*"</li>
</ol>