This section provides some troubleshooting tips related to Gradient
Environment Variables not set
AttributeError: 'NoneType' object has no attribute 'host'
or
AttributeError: 'NoneType' object has no attribute 'result'
This error is returned when Gradient can not access one to the environment variables that are required to return a recommendation. If you are using the CLI, make sure you have run
sync-cli configure
and that you have provided all the required values. If you are using the programatic Python interface, make sure the environment you working in has the following environment variable set:
If you receive an AWS permissions error, please review your AWS policy to ensure the following permissions are granted to the role executing the Gradient prediction.