Skip to content

Troubleshooting Guide

This guide helps you diagnose and resolve common issues with FinFocus. Each section covers a specific category of problems with step-by-step solutions.

Solution:

Terminal window
# Build from source
make build
# Add to PATH
export PATH="$PWD/bin:$PATH"
# Or verify installation
ls -la bin/finfocus

Solution:

Terminal window
# Install make
# macOS
brew install make
# Ubuntu/Debian
sudo apt-get install make
# Check
make --version

Causes:

  1. Plugin not installed
  2. Plugin not configured
  3. Resource type not supported
  4. API credentials invalid

Solution:

Terminal window
# Check plugins
finfocus plugin list
finfocus plugin validate
# See plugin documentation
# docs/plugins/vantage/setup.md

Solution:

Terminal window
# Use YYYY-MM-DD
finfocus cost actual --from 2024-01-01
# Or RFC3339
finfocus cost actual --from 2024-01-01T00:00:00Z

Solution:

Terminal window
# Check filter syntax
finfocus cost actual --filter "tag:env=prod"
# Multiple conditions
finfocus cost actual --filter "tag:env=prod AND tag:team=platform"
Terminal window
# Debug plugin
finfocus plugin validate
# Check plugin binary
ls -la ~/.finfocus/plugins/*/*/
chmod +x ~/.finfocus/plugins/*/*/finfocus-*

Solution:

  1. Check network connectivity
  2. Verify API credentials
  3. Check plugin logs
  4. Increase timeout (if available)

Solution:

Terminal window
# Verify credentials
echo $VANTAGE_API_KEY # For Vantage
# Or check config
cat ~/.finfocus/config.yaml

Solution:

Terminal window
# Filter to smaller dataset
finfocus cost actual --from 2024-01-31 --to 2024-01-31
# Use NDJSON for large output
finfocus cost actual --output ndjson

Solution:

  1. Check plugin is running
  2. Verify network connectivity
  3. Check plugin logs
  4. Try again (may be API issue)

Solution:

Terminal window
# Generate plan
pulumi preview --json > plan.json
# Verify
cat plan.json | head

Solution:

Terminal window
# Fix permissions
chmod +x ~/.finfocus/plugins/*/*/finfocus-*
# Or rebuild
make build
chmod +x bin/finfocus

Solution:

docs/plugins/vantage/setup.md
# Vantage requires config
# Or use local specs
mkdir -p ~/.finfocus/specs
# Add YAML spec files

Solution:

Terminal window
# Ensure specs have currency
cat ~/.finfocus/specs/*.yaml | grep -i currency
# See spec documentation
# docs/deployment/configuration.md
  1. Check logs:

    Terminal window
    finfocus cost actual --debug
  2. Read relevant guide:

  3. Report issue: