Skip to main content
Sometimes, it is useful to check whether an end-user’s connection is working. For example, you might want to display a “connection status” indicator in your app’s UI. To do this, you can use the health check endpoint to check whether the specified connection can connect and process requests end-to-end. If an error occurs, we recommend displaying error.userFacingMessage to your end-user because it is the user-friendly message for end-user UI. Use the primary error.message for logs, developer/admin surfaces, and test projects.