Back to Troubleshooting Hub
highconfiguration

Invalid JSON Error - auto-gpt.json File Not Found

Published 2/24/2026

Symptoms

Warning message appears: 'The file 'auto-gpt.json' does not exist. Local memory would not be saved to a file.' Agent fails to save local memory state between sessions.

Root Cause

The AutoGPT configuration file is missing or was not created during initialization. This typically occurs when running AutoGPT for the first time or after a clean installation.

Solution

Solution Steps

  1. Create the configuration file manually:

    cd /path/to/AutoGPT
    touch auto-gpt.json
    
  2. Initialize with default configuration:

    python -m autogpt --install-plugin-deps
    
  3. Verify file permissions:

    chmod 644 auto-gpt.json
    
  4. Alternative: Use environment variable:

    export AUTO_GPT_CONFIG_FILE=/path/to/your/config.json
    
Verification

Run AutoGPT again and confirm that the warning no longer appears. Check that the auto-gpt.json file exists and contains valid JSON data.

Tags

jsonconfigurationsetup

Affected Components

configmemory