Testing & Sandbox
Telemetry
Report SDK errors
Changed onReceives error telemetry from the frontend SDK. Errors are logged to observability backend for monitoring and debugging.
Authentication
This endpoint accepts any one of the following token types:
- Company-scoped access token (OAuth2AuthorizationCode) — obtained through the Authorization Code flow or the Refresh Token flow, acting as the user who authorized it. See Authentication for partners.
- Company-scoped access token (assertion) (OAuth2CompanyManagerAssertion) — obtained through the urn:ietf:params:oauth:grant-type:jwt-bearer grant for a company manager. See OAuth Assertion.
- Client credentials access token (OAuth2ClientCredentials) — obtained through the Client Credentials flow or the Refresh Token flow. See Authentication for partners.
- Employee-scoped access token (OAuth2Assertion) — obtained through the urn:ietf:params:oauth:grant-type:jwt-bearer grant. See OAuth Assertion.
- Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page, with the scopes they choose there. See Authorization for customers.
- Client token (ClientToken) — a partner client_token, accepted only on the endpoints that list it. See Authentication for partners.
post/v1/sdk/telemetry-errors
Request
- Base URLhttps://gateway.remote.com
- Auth
- OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/token
- or OAuth 2Client credentialsToken URL/auth/oauth2/token
- or OAuth 2Client credentialsToken URL/auth/oauth2/token
- or OAuth 2Client credentialsToken URL/auth/oauth2/token
- or HTTP bearer
- or HTTP bearer
Request body
SDKError Payload required
context, object nullable
Context
error, object required
metadata, object required
Example request
{
"context": {
"userId": "user123"
},
"error": {
"category": "RENDER_ERROR",
"component_stack": [
"Component1",
"Component2"
],
"message": "Unable to render component",
"name": "RenderError",
"severity": "error",
"stack": "Error: ...\n at ..."
},
"metadata": {
"environment": "production",
"sdk_version": "1.0.0",
"timestamp": "2024-01-15T10:30:00Z",
"url": "https://example.com/page",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
}
}Response
No Content
Changes
- info
the endpoint scheme security
OAuth2CompanyManagerAssertionwas added to the API
- info
- info
the endpoint scheme security
CustomerAPITokenwas added to the API - info
the endpoint scheme security
OAuth2Assertionwas added to the API
1 more change in this revision
- info