Help CenterTroubleshooting

Troubleshooting: API Key Problems in SheetXAI

The Problem

SheetXAI features aren't working, or you're seeing errors related to API keys or authentication.

Common API Key Issues

  • API key is invalid or expired
  • API key has extra spaces or characters
  • API key is not properly saved
  • Integration is not enabled
  • Wrong API provider selected

How to Fix API Key Problems

Step 1: Verify Your API Key

  1. Open Settings in SheetXAI

    • Go to Extensions → SheetXAI → Open Chat → Settings
  2. Search for your API provider (e.g., "OpenAI", "OpenRouter", "Straico")

  3. Check your API key:

    • Verify it's entered correctly (no extra spaces at the beginning or end)
    • Ensure the key is complete (not truncated)
    • Confirm you're using the correct key for the provider

Step 2: Check Integration Status

  1. Verify the integration is turned on (some integrations have toggle switches)

  2. Check if the integration is enabled in the main settings

  3. Save settings after making any changes

Step 3: Test Your API Key

  1. Test your feature again after updating the API key

  2. Check for error messages that might indicate specific issues

  3. Verify your API provider account has sufficient credits or balance

Common Error Messages

  • "API Key Invalid": Your API key is incorrect or expired
  • "Insufficient Credits": Your API provider account needs more credits
  • "Authentication Failed": The API key format is wrong or the service is unavailable

Best Practices

  • Copy-paste API keys instead of typing them manually to avoid typos
  • Remove any extra spaces before or after the key
  • Keep API keys secure - never share them publicly
  • Check expiration dates for time-limited keys
  • Verify account status with your API provider

Quick Checklist

  • Opened SheetXAI settings
  • Found the correct API provider section
  • Verified API key has no extra spaces
  • Confirmed API key is complete
  • Checked that integration is enabled
  • Saved settings
  • Tested the feature again

Still Not Working?

If API key issues persist:

  • Double-check with your API provider that the key is valid
  • Try generating a new API key from your provider's dashboard
  • Check your account balance or subscription status
  • Review integration-specific troubleshooting guides

Last updated on 2025-01-12