Stay organized with collections
Save and categorize content based on your preferences.
Error Reporting notification recommender and insights
The Error Reporting recommender looks for
recent crashes in your Google Cloud project and provides recommendations if you
have not configured Error Reporting notifications.
When you have notifications configured, no recommendations are made.
This document describes how to enable and view your recommendations
and insights.
Before you begin
Before you can view Error Reporting recommendations and
insights, you must do the following:
Enable the Recommender API as described in
Enable the API.
Ensure that you have sufficient permission.
You must have one of the following roles, which provide the necessary
permissions:
Task description
Role
View recommendations/insights
roles/recommender.errorReportingViewer
View and update (dismiss) recommendations/insights
roles/recommender.errorReportingAdmin
Opt out of recommendations/insights in Transparency and Control Center.
For more information, see
Opting out.
roles/dataprocessing.admin
These Recommender roles provide the following API permissions:
Recommender displays recommendations in the Google Cloud console.
You can also list recommendations by using the Google Cloud CLI or
the Recommender API.
Google Cloud console
To view your recommendations, do the following:
Go to the Google Cloud console, or use the following button:
The Error Reporting recommender generates recommendations
based on insights. You can retrieve these insights
by using the Google Cloud CLI or the Recommender API.
gcloud CLI
To list your Error Reporting insights by using the
gcloud CLI, run the following command:
gcloud recommender insights list \
--insight-type=google.clouderrorreporting.Insight \
--project=PROJECT_ID \
--location=global
Replace PROJECT_ID with the identifier for your Google Cloud project.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Error Reporting notification recommender and insights\n=====================================================\n\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThe [Error Reporting](/error-reporting/docs) recommender looks for\nrecent crashes in your Google Cloud project and provides recommendations if you\nhave not configured [Error Reporting notifications](/error-reporting/docs/notifications).\nWhen you have notifications configured, no recommendations are made.\n\nThis document describes how to enable and view your recommendations\nand insights.\n\nBefore you begin\n----------------\n\nBefore you can view Error Reporting recommendations and\ninsights, you must do the following:\n\n1. Enable the Recommender API as described in\n [Enable the API](/recommender/docs/enabling).\n\n2. Ensure that you have sufficient permission.\n You must have one of the following roles, which provide the necessary\n permissions:\n\n\n \u003cbr /\u003e\n\n These Recommender roles provide the following API permissions:\n\n\n \u003cbr /\u003e\n\n For more information about roles and about granting access, see the\n following:\n - [Understanding roles](/iam/docs/understanding-roles)\n - [Managing access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access)\n\nView recommendations\n--------------------\n\nRecommender displays recommendations in the Google Cloud console.\nYou can also list recommendations by using the Google Cloud CLI or\nthe Recommender API. \n\n### Google Cloud console\n\n\nTo view your recommendations, do the following:\n\n1. Go to the Google Cloud console, or use the following button:\n\n [Go to Google Cloud console](https://console.cloud.google.com/)\n2. Select the **Recommendations** tab.\n\n\u003cbr /\u003e\n\n### gcloud CLI\n\n\nTo list your Error Reporting recommendations by using the\ngcloud CLI, run the following command: \n\n```\ngcloud recommender recommendations list \\\n --recommender=google.clouderrorreporting.Recommender \\\n --project=PROJECT_ID \\\n --location=global\n```\n\nReplace \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e with the identifier for your Google Cloud project.\n\nFor more information about this command, including options for the output\nformat, see [`gcloud recommender recommendations list`](/sdk/gcloud/reference/recommender/recommendations/list).\n\n\u003cbr /\u003e\n\n### Recommender API\n\n\nTo list your Error Reporting recommendations by using the\nRecommender API, run the following command: \n\n```\ncurl -H \"Authorization: Bearer $(gcloud auth print-access-token)\" \\\n\"https://recommender.googleapis.com/v1/projects/PROJECT_ID/locations/global/recommenders/google.clouderrorreporting.Recommender/recommendations\"\n```\n\nReplace \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e with the identifier for your Google Cloud project.\n\nFor more information, see [Using the API - Recommendations](/recommender/docs/using-api).\n\n\u003cbr /\u003e\n\nView insights\n-------------\n\nThe Error Reporting recommender generates recommendations\nbased on [insights](/recommender/docs/insights/using-insights). You can retrieve these insights\nby using the Google Cloud CLI or the Recommender API. \n\n### gcloud CLI\n\n\nTo list your Error Reporting insights by using the\ngcloud CLI, run the following command: \n\n```\ngcloud recommender insights list \\\n --insight-type=google.clouderrorreporting.Insight \\\n --project=PROJECT_ID \\\n --location=global\n```\n\nReplace \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e with the identifier for your Google Cloud project.\n\nFor more information about this command, including options for the output\nformat, see [`gcloud recommender insights list`](/sdk/gcloud/reference/recommender/insights/list).\n\n### Recommender API\n\n\nTo list your Error Reporting insights by using the\nRecommender API, run the following command: \n\n```\ncurl -H \"Authorization: Bearer $(gcloud auth print-access-token)\" \\\n\"https://recommender.googleapis.com/v1/projects/PROJECT_ID/locations/global/recommenders/google.clouderrorreporting.Insight/insights\"\n```\n\nReplace \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e with the identifier for your Google Cloud project.\n\nFor more information, see [Using the API - Insights](/recommender/docs/insights/using-api).\n\n\u003cbr /\u003e\n\nPricing\n-------\n\nError Reporting recommendations and insights are\navailable free of charge. For information about other pricing tiers, see\n[Recommender pricing](/recommender/pricing)."]]