# Troubleshooting the Google Assistant Service

## Credentials issues

When trying to generate credentials with the authorization tool, the tool prompts
you to visit a URL and sign in to your Google account. The page then displays an
error message (for example, "Something went wrong").

- Make sure you enabled the Google Assistant API and configured the OAuth consent screen in [Configure a Developer Project and Account Settings](https://developers.google.com/assistant/sdk/guides/service/python/embed/config-dev-project-and-account#config-dev-project).

## Permissions issues

The Google Assistant responds *Actually, there are some basic settings that need
your permission first...*

- [Set activity controls](https://developers.google.com/assistant/sdk/guides/activity-controls) for the account that you used when setting the authorization code.

## Voice recognition issues

Assistant responds *I don't know how to help with that* or *I don't
understand.*

- Verify that your voice was recognized properly. Check the sample code output for a transcript of the user request. You can also look at [my activity](https://myactivity.google.com/myactivity?restrict=vaa). You can play the audio received by the Assistant to check for audio quality issues. If you hear excessive noise or if the audio is distorted, check that your microphone is configured properly or try a different microphone.

## Trait issues

Assistant does not recognize a trait that you added to a model.

- Make sure the trait was added to the model
  (see [Register Traits for the
  Device](https://developers.google.com/assistant/sdk/guides/service/python/extend/register-device-traits)).

- If you generated a device instance for a model, the device instance will **not**
  automatically update when its model is changed by other users. You need to
  manually re-register the device instance using the [registration command line tool](https://developers.google.com/assistant/sdk/reference/device-registration/device-tool#register-device)
  or the [REST API](https://developers.google.com/assistant/sdk/reference/device-registration/register-device-manual#register-instance).
  You can find the
  [device instance ID](https://developers.google.com/assistant/sdk/guides/service/python/embed/run-sample#get-device-id)
  in the output of the sample.

## Device Actions issues

The Google Assistant responds saying that your app is not supported on your
device.

- In the [Actions Console](https://console.actions.google.com/), you can set the surface capabilities of your Assistant app. If you set screen output to be required, your custom actions will not function. The Google Assistant SDK does not support screen capabilities at this time.

## See also

- [Troubleshooting](https://github.com/googlesamples/assistant-sdk-python/tree/master/google-assistant-sdk/googlesamples/assistant/grpc#troubleshooting) section of the Google Assistant Service sample README

## Support

Still having trouble? See our [Support](https://developers.google.com/assistant/sdk/support) page.