oraclecloud-common-errors

Featured

Diagnose and fix Oracle Cloud Infrastructure API errors with real error codes and proven fixes. Use when encountering OCI ServiceError exceptions, auth failures, SSL issues, or timeout errors. Trigger with "oci error", "fix oraclecloud", "debug oci", "NotAuthorizedOrNotFound", "oci 401".

DevOps & Infrastructure 2,940 stars 439 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Oracle Cloud Common Errors ## Overview OCI API errors are notoriously cryptic. `NotAuthorizedOrNotFound` (404) could mean an IAM policy is missing **or** you typed the OCID wrong — the error is intentionally ambiguous for security. `NotAuthenticated` (401) covers six different config file problems. `CERTIFICATE_VERIFY_FAILED` has different fixes depending on your SDK language, OS, and whether you are behind a corporate proxy. **Purpose:** A diagnostic decoder ring mapping every common OCI error to its real root cause and fix, with runnable diagnostic commands for each scenario. ## Prerequisites - An OCI account with `~/.oci/config` configured (see `oraclecloud-install-auth`) - **Python 3.8+** with `pip install oci` installed - **OCI CLI** installed (`pip install oci-cli`) for diagnostic commands ## Instructions ### Authentication Errors (401 NotAuthenticated) The 401 error has six distinct root causes. Run this diagnostic to isolate which one: ```python import oci import os def diagnose_auth(): """Diagnose OCI 401 NotAuthenticated errors.""" config_path = os.path.expanduser("~/.oci/config") # Check 1: Config file exists if not os.path.exists(config_path): return "CAUSE: Config file missing. Run: oci setup config" config = oci.config.from_file(config_path) # Check 2: All required fields present required = ["user", "fingerprint", "tenancy", "region", "key_file"] for field in required: if field not in config or not c...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category