Hi there,
I have a Python cloud function that listens on a pub/sub topic. It has been working fine in production up until recently when it started reporting the following error:
Function execution could not start, status: 'request too large'
I looked in Stackdriver metrics and confirmed that no large messages have been published to that queue.
What I did find is that the number of unacknowledged messages has been growing steadily since that error first appeared.
The function does seem to process some of the messages, but apparently there is a "culprit" message or messages that keep getting resent and create a bottleneck.
There is no stacktrace on that error which means that the error does not appear in Stackdriver Error Reporting.
I suppose I could use the gcloud command
gcloud alpha pubsub subscriptions seek command to ACK all old messages, but I would like to know what triggers this error in the first place.
Thanks,
Boris