Skip to content

Conversation

@eulervoid
Copy link
Collaborator

Adds error details and additional context to tinybird events:

New fields:

  • request_path - Requested endpoint path
  • api_key_id - API key id
  • api_key_type - Type of API key (secret/publishable)
  • resolved_model_requested - The resolved model name
  • free_model_requested - Boolean indicating if free model was requested
  • error_name - Error name, e.g. UpstreamError
  • error_response_code - String representation of error response code e.g. BAD_REQUEST
  • error_source - Source of the error (e.g., upstream hostname)
  • error_message - Error message text
  • error_stack - Stack trace
  • error_details - Additional error details (JSON)

Removed field:

  • cost_type

Addresses #4872 and #4703

@github-project-automation github-project-automation bot moved this to To Do in Dev Nov 3, 2025
@eulervoid
Copy link
Collaborator Author

The image endpoint seems to return a custom response, i'd change that still to also throw an upstream error, with the same context. This way, all error responses follow the same schema.

@eulervoid eulervoid linked an issue Nov 3, 2025 that may be closed by this pull request
@eulervoid eulervoid force-pushed the 4872-add-error-fields-to-tinybird-events branch from 29f0908 to dcae1e5 Compare November 4, 2025 17:54
@netlify
Copy link

netlify bot commented Nov 4, 2025

Deploy Preview for pollinations failed. Why did it fail? →

Name Link
🔨 Latest commit c92a241
🔍 Latest deploy log https://app.netlify.com/projects/pollinations/deploys/690a7ee421aa9e0008e9afc2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To Do

Development

Successfully merging this pull request may close these issues.

Add click house telemetry entries

2 participants