# FAQ & Troubleshooting (/docs/integrations/cisco-catalyst-center/cisco-catalyst-center-faq)



## Common Issues [#common-issues]

1. **Authentication Errors**:
   ```
   ❌ CCC_HOST environment variable must be set.
   ❌ CCC_USER and CCC_PWD must be provided in policy config.
   ```
   **Solution**: Verify your `.env` file contains all required variables.

2. **Connection Errors**:
   ```
   Failed to authenticate with Cisco Catalyst Center
   ```
   **Solution**: Check your Catalyst Center credentials and network connectivity.

3. **Diode Connection Errors**:
   ```
   ❌ Missing Diode connection details in .env
   ```
   **Solution**: Verify your Diode client ID and secret are correct.

4. **Permission Errors**:
   ```
   Permission denied when accessing /opt/orb/
   ```
   **Solution**: Ensure the current directory has proper read permissions.

5. **The run stops with a `CCC_VRF_MAP` error**:
   ```
   CCC_VRF_MAP token 'VRF_Corp' needs exactly one ':' (expected 'vn:vrf')
   CCC_VRF_MAP entry 'VRF_Corp': '' has a blank name
   ```
   **Solution**: Write `CCC_VRF_MAP` as comma-separated `vn:vrf` pairs, such as `VRF_Corp:VRF-Corp,VRF_AV:VRF-AV`, with a non-empty virtual network name and VRF name in each pair.

6. **IP addresses are not put in VRFs**:
   ```
   CCC_VRF_MAP is set but CCC_VRF_FROM_VIRTUAL_NETWORKS is off; it is ignored
   CCC_VRF_MAP names unknown virtual networks: <names>
   VLAN <vid> on device <id> belongs to more than one VRF (<vrfs>); its IPs stay in the global table
   Catalyst Center has no <endpoint> API (status <code>); every IP stays in the global table
   ```
   **Solution**: Set `CCC_VRF_FROM_VIRTUAL_NETWORKS: true`. Only IP addresses on anycast gateway SVIs (`Vlan<N>`) of fabric devices are put in VRFs, and `INFRA_VN` never becomes a VRF. Check that the names in `CCC_VRF_MAP` match the virtual network names in Catalyst Center exactly. See [VRFs from SD-Access Virtual Networks](/integrations/cisco-catalyst-center/cisco-catalyst-center-tech-info/#vrfs-from-sd-access-virtual-networks).
