Fatal error: Uncaught MrShan0\PHPFirestore\Exceptions\Client\Forbidden: You do not have permission to access the requested resource. Response: {
"error": {
"code": 403,
"message": "Permission denied: Consumer 'api_key:AIzaSyByW7PRHNmocbVTZPFkhwUsDCZjlrhpCgU' has been suspended.",
"errors": [
{
"message": "Permission denied: Consumer 'api_key:AIzaSyByW7PRHNmocbVTZPFkhwUsDCZjlrhpCgU' has been suspended.",
"domain": "global",
"reason": "forbidden"
}
],
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "CONSUMER_SUSPENDED",
"domain": "googleapis.com",
"metadata": {
"containerInfo": "api_key:AIzaSyByW7PRHNmocbVTZPFkhwUsDCZjlrhpCgU",
"consumer": "projects/774412288676",
"service": "identitytoolkit"
}
},
{
"@type": "type.googleapis.com/google.rpc.LocalizedMessage",
"locale": "en-US",
"message": "Permission denied: Consumer 'api_key:AIzaSyByW7PRHNmocbVTZPFkhwUsDCZjlrhpCgU' has been suspended."
}
]
}
}
in /home/c4620823/firebase/vendor/bensontrent/firestore-php/src/Handlers/RequestErrorHandler.php:47
Stack trace:
#0 /home/c4620823/firebase/vendor/bensontrent/firestore-php/src/Handlers/RequestErrorHandler.php(29): MrShan0\PHPFirestore\Handlers\RequestErrorHandler->handle403()
#1 /home/c4620823/firebase/vendor/bensontrent/firestore-php/src/Authentication/FirestoreAuthentication.php(176): MrShan0\PHPFirestore\Handlers\RequestErrorHandler->handleError()
#2 /home/c4620823/firebase/vendor/bensontrent/firestore-php/src/Authentication/FirestoreAuthentication.php(156): MrShan0\PHPFirestore\Authentication\FirestoreAuthentication->handleError()
#3 /home/c4620823/firebase/vendor/bensontrent/firestore-php/src/Authentication/FirestoreAuthentication.php(113): MrShan0\PHPFirestore\Authentication\FirestoreAuthentication->authRequest()
#4 /home/c4620823/firebase/database/database.inc(13): MrShan0\PHPFirestore\Authentication\FirestoreAuthentication->signInAnonymously()
#5 /home/c4620823/public_html/trip.red/search/index.php(8): DB->__construct()
#6 {main}
thrown in /home/c4620823/firebase/vendor/bensontrent/firestore-php/src/Handlers/RequestErrorHandler.php on line 47