Skip to main content

Validation

Live Events Dashboard

The fastest way to validate your integration:

  1. Log in to the GameRebellion Platform.
  2. Navigate to Analytics > [Your Game].
  3. Open Live Events to see events arriving in real time.
  4. Each event shows its type, timestamp, and payload.

Game Connection Status

StatusMeaning
Waiting for dataNo events received yet
ConnectedEvents are flowing

Validating Event Fields

The SDK validates required fields before sending:

  • Required fields missing → method returns false
  • Call GameRebellion.GetLastError() for the specific validation failure
  • Error code -2 (GR_ERR_INVALID_ARGS) means a required field is missing or invalid

S2S Validation

For Server-to-Server integrations, check the HTTP response:

response = client.track_event("feature_use", {"type": "test"})

if response.status_code == 200:
# Event accepted — check Live Events dashboard
pass
elif response.status_code == 400:
# Validation error — inspect response.json() for details
pass
elif response.status_code == 401:
# Invalid API key — verify X-API-Key header
pass