This isn't written down anywhere, so you wouldn't know it, but we're trying to avoid adding new APIs that make documentId optional. Can you please make it required for this function? (If the user doesn't specify a documentId, a rejected promise should be returned, with an appropriate error message.)