Error: function crashed out of request scope Function invocation was interrupted.
jay8t6 opened this issue · 4 comments
jay8t6 commented
Is there a limit on how many documents it can retrieve? I am getting this error in the middle of retrieving documents:
Error: function crashed out of request scope Function invocation was interrupted.
jay8t6 commented
closing. It was a problem with my cloud function, I just had to return the promise.
jay8t6 commented
@jloosli this problem is back. Do you have any idea what's going on? it crashes in the middle of retrieving users data.
jloosli commented
Not really....I know that the API has some rate limiting on it, so when the code hits some rate limit errors, it tries to wait before getting more items, but maybe there are other places where I should place the waiting code.