Skip to content

Commit 881ef7c

Browse files
callmehiphopstephenplusplus
authored andcommitted
docs: add grpc max size to troubleshooting (#1767)
1 parent 139e556 commit 881ef7c

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

docs/troubleshooting.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,8 @@ async.eachLimit(subscriptions, PARALLEL_LIMIT, deleteSubscription, function(err)
8686
This will only allow 10 at a time to go through, making it easier on the API to keep up with your requests.
8787

8888
Reference Issue: [#1101](https://github.com/GoogleCloudPlatform/google-cloud-node/issues/1101)
89+
90+
91+
## gRPC received a message exceeding the max size.
92+
93+
If you're seeing an error message saying that your gRPC request is exceeding the max size, you may need to send smaller individual requests. Request bodies should not exceed 4MB.

packages/bigtable/src/table.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,9 @@ Table.prototype.getRows = function(options, callback) {
675675
};
676676

677677
/**
678-
* Insert or update rows in your table.
678+
* Insert or update rows in your table. It should be noted that gRPC only allows
679+
* you to send payloads that are less than or equal to 4MB. If you're inserting
680+
* more than that you may need to send smaller individual requests.
679681
*
680682
* @param {object|object[]} entries - List of entries to be inserted.
681683
* See {module:bigtable/table#mutate}.

0 commit comments

Comments
 (0)