View Categories

Troubleshoot Credential Problems

No Usable Credential Is Configured #

Open GravityOps -> AI Feed -> Credentials. Paste the correct provider key, save, and run its test. If a developer manages keys on the server, confirm the expected constant or environment variable is present without exposing its value.

Anthropic keys are used for text feeds; OpenAI keys are used for image feeds. One cannot replace the other.

Authentication Or Permission Failure #

  • Confirm the key was copied completely and has not been revoked.
  • Confirm it belongs to the intended provider account/project/workspace.
  • Check that the account and project permit the requested API and model.
  • Check billing, credits, spending limits, and provider account status.
  • When more than one source exists, deliberately test each API Key option.

Models Permission Warning #

The Test Anthropic and Test OpenAI buttons make a non-billable request to the provider’s Models endpoint. A restricted key can deny that endpoint even when it permits the generation endpoint used by a feed. The plugin reports this as an inconclusive warning, not as an invalid key.

In the provider console, confirm that an Anthropic key permits message generation or that an OpenAI key permits image generation. Then run a feed with a small test prompt to verify the actual generation permission; that request can consume provider credits.

Automatic Uses The Wrong Key #

Automatic prefers constants/environment over the WordPress-saved profile. Either select the saved profile for the feed/test, or remove/replace the server source through the host’s supported secret process. Never print the key while diagnosing precedence.

Saved Key Cannot Be Decrypted #

Re-enter the complete key. Common causes are rotated WordPress salts, a newly added or removed GOAIF_CREDENTIAL_ENCRYPTION_KEY, a replaced dedicated encryption key, a restored database paired with different site security material, or a missing encryption dependency.

The plugin cannot recover plaintext from a credential whose encryption material is lost. Create a new provider key if the original secret is also unavailable.

Test Is Rate-Limited #

Credential tests have a small independent rate limit. Wait several minutes and try once. Repeated tests are not necessary after a success unless the key or environment changes.