Skip to content

chore: check API key before deploying #60

@JosiahParry

Description

@JosiahParry

I just encountered the following behavior. We should validate the API key before deploying and error early with a prompt to ricochet login again.

120-goog-index ⚡ ricochet deploy
✔ No _ricochet.toml found. Would you like to create one? · yes
✔ Choose a language · R
✔ Choose content type · Shiny
✔ Select Shiny app entrypoint · app.R
✔ Content item name · google shiny app
✔ Item visibility · Private
✔ Created _ricochet.toml
📦 Deploying new Shiny content item

Error: Deployment failed: Request failed with status 403 Forbidden: {"error":"Expired API key."}

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/choreMaintenance and low-level optimizations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions