The parameter documentId should be a String if encoded keys are also allowed.