Failed to "modifyAckDeadline": Metadata key contains illegal characters
See original GitHub issueEnvironment details
- OS: linux
- Node.js version: 10.15.3
- yarn version: 1.15.2
@google-cloud/pubsub
version: 0.30.1
Steps to reproduce
We use code similar to the sample https://github.com/googleapis/nodejs-pubsub/blob/ede57841e391680f4d8875d60eb17b62389cd7d8/samples/subscriptions.js#L225 to receive messages, but use the following subscription config:
const options = {
flowControl: {
allowExcessMessages: false,
maxMessages: 20,
maxExtension: 10,
},
}
pubSub.subscription(subscriptionName, options)
We see the following error messages in our logs:
Error: Failed to "modifyAckDeadline" for 9 message(s). Reason: Metadata key "a" contains illegal characters
at Object.keys.map (/base/node_modules/@google-cloud/pubsub/src/message-queues.ts:238:15)
We haven’t seen this message before we updated to version 0.30.0
and this error is still reported after updating to version 0.30.1
.
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Release Notes | Google Cloud CLI Documentation
Messages and fails early when the user tries to upload with an invalid schema. ... Label keys and values can be no longer...
Read more >Metadata key contains illegal characters - Bountysource
Metadata key contains illegal characters. ... We've started noticing a new error in production (and in staging env also) that happens ~50 ...
Read more >Spring Cloud
Indicates if an error while retrieving the parameters should fail starting the ... If you get an exception due to "Illegal key size"...
Read more >https://openi.pcl.ac.cn/lewis/aiforge-test/commit/...
Policy) error { + md := metadata. ... CallOption + ModifyAckDeadline []gax. ... It must start with a letter, +// and contain only...
Read more >Schema$DeadLetterPolicy - googleapis documentation
If validation on any of the fields fails at subscription creation/updation, the create/update ... A NACK is any call to ModifyAckDeadline with a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bcoe We updated to version
1.1.5
ofgoogle-gax
and it didn’t fix this issue. We now see a different, but somehow related error in our logs:@katmatt 👍 awesome. Going to go ahead and close this issue, please let us know if you bump into any related issues.