Gemini file upload not working

I was uploading pdf file to gemini using GoogleAIFileManager.fileManager.uploadFile() method in node.js It used to work okay last week but today when I try to upload pdf file I get below error.

{
“error”: {
“code”: 403,
“message”: “Method doesn’t allow unregistered callers (callers without established identity). Please use API Key or other form of API consumer identity to call this API.”,
“status”: “PERMISSION_DENIED”
}
}

I double checked whether my api key is working and prompts seems to generate fine.

I have seen similar issue below that occured last year Jul.

Could you please help?

Hi @techi_Studio , Welcome to the forum.

It might be a temporary issue. Are you still facing the issue?

Now it’s okay. Thanks.