Skip to content

biblioshiny Error After Setting Gemini API Key in Version 5.1.1 #569

@fuck007996

Description

@fuck007996

In version 5.1.1, after entering the Gemini API Key and clicking "Set API Key," the program exits after a few seconds, and RStudio displays the following:

> biblioshiny()

Listening on http://127.0.0.1:4910
Warning: Error in if: missing value where TRUE/FALSE needed
  84: gemini_ai [biblioAI.R#136]
  83: setGeminiAPI [biblioAI.R#167]
  82: observe [/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/bibliometrix/biblioshiny/server.R#5442]
  81: <observer:observeEvent(input$set_key)>
   2: runApp
   1: biblioshiny

System info-mac/15.1, M1, R/4.5.1 (2025-06-13), RStudio/2025.09.1+401 (2025.09.1+401), Chrome/141.0.7390.55 (arm64)

I have tried the following methods, but the problem is still not resolved. #534 (comment)

API:I created the API key in Google AI Studio, clicked "Copy API key," and pasted it into the 'Biblio AI' API Key input field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions