Setting Up Client-Side JavaScript Error Reporting

You can report errors to Stackdriver Error Reporting from client-side JavaScript using the event.report API endpoint.

Before you begin

  1. Sign in to your Google account.

    If you don't already have one, sign up for a new account.

  2. Select or create a Cloud Platform project.

    Go to the Manage resources page

  3. Enable the Stackdriver Error Reporting API.

    Enable the API

  4. Generate an API key.

JavaScript library

We suggest using the following JavaScript library to send errors to the Error Reporting API:

Note that the library is experimental and may change without notice.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Stackdriver Error Reporting Documentation