Fehlerbehebung für den Google Assistant-Dienst
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Probleme mit Anmeldedaten
Wenn Sie versuchen, Anmeldedaten mit dem Autorisierungstool zu generieren, werden Sie aufgefordert, eine URL aufzurufen und sich in Ihrem Google-Konto anzumelden. Auf der Seite wird dann eine Fehlermeldung angezeigt, z. B. „Ein Fehler ist aufgetreten“.
Berechtigungsprobleme
Google Assistant antwortet: Für einige Grundeinstellungen ist deine Berechtigung erforderlich…
Probleme mit der Spracherkennung
Assistant antwortet Da kann ich dir nicht weiterhelfen oder Ich verstehe dich nicht.
- Prüfen Sie, ob Ihre Stimme richtig erkannt wurde. Sehen Sie sich die Ausgabe des Beispielcodes an, um ein Transkript der Nutzeranfrage zu erhalten. Sie können sich auch Meine Aktivitäten ansehen. Sie können das von Assistant empfangene Audio abspielen, um Probleme mit der Audioqualität zu erkennen. Wenn Sie übermäßiges Rauschen hören oder der Ton verzerrt ist, prüfen Sie, ob Ihr Mikrofon richtig konfiguriert ist, oder versuchen Sie es mit einem anderen Mikrofon.
Probleme mit Attributen
Assistant erkennt ein Merkmal nicht, das Sie einem Modell hinzugefügt haben.
Probleme mit Geräteaktionen
Google Assistant antwortet, dass Ihre App auf Ihrem Gerät nicht unterstützt wird.
- In der Actions Console können Sie die Oberflächenfunktionen Ihrer Assistant-App festlegen. Wenn Sie die Bildschirmausgabe als erforderlich festlegen, funktionieren Ihre benutzerdefinierten Aktionen nicht. Das Google Assistant SDK unterstützt derzeit keine Bildschirmfunktionen.
Weitere Informationen
- Abschnitt Fehlerbehebung in der README-Datei des Google Assistant-Dienstbeispiels
Support
Du konntest das Problem noch immer nicht lösen? Weitere Informationen finden Sie auf unserer Supportseite.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eEnsure the Google Assistant API is enabled and the OAuth consent screen is properly configured to resolve credential issues.\u003c/p\u003e\n"],["\u003cp\u003eVerify activity controls are set for the account used during authorization setup to address permission problems.\u003c/p\u003e\n"],["\u003cp\u003eTroubleshoot voice recognition issues by reviewing the voice transcript, checking audio quality, and microphone configuration.\u003c/p\u003e\n"],["\u003cp\u003eFor trait-related problems, confirm trait addition to the model and re-register the device instance after model updates.\u003c/p\u003e\n"],["\u003cp\u003eIf encountering device action issues, review surface capabilities settings in the Actions Console, ensuring screen output is not required.\u003c/p\u003e\n"]]],[],null,["# Troubleshooting the Google Assistant Service\n\nCredentials issues\n------------------\n\nWhen trying to generate credentials with the authorization tool, the tool prompts\nyou to visit a URL and sign in to your Google account. The page then displays an\nerror message (for example, \"Something went wrong\").\n\n- Make sure you enabled the Google Assistant API and configured the OAuth consent screen in [Configure a Developer Project and Account Settings](/assistant/sdk/guides/service/python/embed/config-dev-project-and-account#config-dev-project).\n\nPermissions issues\n------------------\n\nThe Google Assistant responds *Actually, there are some basic settings that need\nyour permission first...*\n\n- [Set activity controls](/assistant/sdk/guides/activity-controls) for the account that you used when setting the authorization code.\n\nVoice recognition issues\n------------------------\n\nAssistant responds *I don't know how to help with that* or *I don't\nunderstand.*\n\n- 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.\n\nTrait issues\n------------\n\nAssistant does not recognize a trait that you added to a model.\n\n- Make sure the trait was added to the model\n (see [Register Traits for the\n Device](/assistant/sdk/guides/service/python/extend/register-device-traits)).\n\n- If you generated a device instance for a model, the device instance will **not**\n automatically update when its model is changed by other users. You need to\n manually re-register the device instance using the [registration command line tool](/assistant/sdk/reference/device-registration/device-tool#register-device)\n or the [REST API](/assistant/sdk/reference/device-registration/register-device-manual#register-instance).\n You can find the\n [device instance ID](/assistant/sdk/guides/service/python/embed/run-sample#get-device-id)\n in the output of the sample.\n\nDevice Actions issues\n---------------------\n\nThe Google Assistant responds saying that your app is not supported on your\ndevice.\n\n- 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.\n\nSee also\n--------\n\n- [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\n\nSupport\n-------\n\nStill having trouble? See our [Support](/assistant/sdk/support) page."]]