This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Description
Hello --
What am I missing here:
$firestoreClient = new FirestoreClient('test-project-123', 'AIzXXXXX', [
'database' => '(default)',
]);
$collections = $firestoreClient->listDocuments('test', [
'pageSize' => 1,
'pageToken' => 'nextpagetoken'
]);
MrShan0\PHPFirestore\Exceptions\Client\Forbidden
You do not have permission to access the requested resource. Response: {
"error": {
"code": 403,
"message": "Missing or insufficient permissions.",
"status": "PERMISSION_DENIED"
}
}
I checked my API keys, everything looks good.