Skip to content

# E2006 Details

## Message emitted:

`E2006: Configured to use secrets based on config context, the device {device_obj} did not return a string for value {str(access_type_str)}.`

## Description:

The device object does not have the expected config context as a string value.

## Troubleshooting:

The configuration context for the device should be a string. Review the config context for the specific device that you received the error on.

## Recommendation:

Review then address the config context for the device is in fact a string.