[GoogleGenerativeAI] Response payload: {
"error": {
"code": 403,
"message": "Requests from this iOS shopper software u003cemptyu003e are blocked.",
"standing": "PERMISSION_DENIED",
"particulars": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "API_KEY_IOS_APP_BLOCKED",
"domain": "googleapis.com",
"metadata": {
"consumer": "projects/REMOVED-THE-PROJECT-ID",
"service": "generativelanguage.googleapis.com"
}
}
]
}
}
Right here you possibly can see the 403 error with it saying messages from “u003cempty” are blocked. What I get from that is the bundle ID will not be being despatched with the request. This began occurring after I added key restrictions for my API key for my iOS app. Any insights are welcome and if extra data is required please let me know and I’ll fortunately present.
I’ve tried eradicating the API restrictions and all the things works fantastic. Nonetheless, I actually wish to have them in place for apparent causes.