Validation
Live Events Dashboard
The fastest way to validate your integration:
- Log in to the GameRebellion Platform.
- Navigate to Analytics > [Your Game].
- Open Live Events to see events arriving in real time.
- Each event shows its type, timestamp, and payload.
Game Connection Status
| Status | Meaning |
|---|---|
| Waiting for data | No events received yet |
| Connected | Events 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