Troubleshooting

Common integration issues, symptoms, and fixes for ChargeIndia Hub.

Use this page as a starting point when something fails during integration or production traffic. Each item links to the detailed reference.

Authentication

SymptomLikely causeFix
2002 on all Hub requestsInvalid, revoked, or wrong tokenRe-check credentials from exchange; see Token Rotation
HTTP 401 with status_code: 2002Suspended party accountContact your ChargeIndia account team
Auth works on some routes onlyRaw vs Base64 token mismatchSend Authorization: Token {Base64(UTF-8(token))} per Authentication

Routing

SymptomLikely causeFix
Empty location or tariff listNo routing rules for your eMSP↔CPO pairsContact account team to enable routing
Authorization failure / NOT_ROUTEDTarget CPO not in your routing matrixVerify routing with account team
Command reaches wrong partyIncorrect CPO country_code / party_id in pathUse owning CPO identifiers in outbound calls

Sessions and CDRs

SymptomLikely causeFix
Session not received by eMSPMissing or incorrect cdr_token on CPO pushCPO must set eMSP identity on every session - see Session Lifecycle
CDR not received by eMSPSame as session - bad cdr_token or receiver URLVerify CPO push fields and eMSP receiver registration
Async delivery delayedeMSP receiver slow or temporarily downHub retries; ensure idempotent receivers - see Async Delivery

Commands

SymptomLikely causeFix
Command REJECTEDEVSE busy, invalid location/EVSE, or routing gapVerify location IDs and routing
No async command resultMissing or unreachable response_urleMSP must expose a valid callback endpoint
Callback auth failureExpecting CPO token instead of Hub contextCommand callbacks arrive via Hub - see Commands

Async delivery and receivers

SymptomLikely causeFix
HTTP 400: invalid path party on eMSP receiverP2P-style validation - path must be owning CPO, not eMSP or HubSee Hub Receiver Identity (eMSP)
Catalog updates missingLocation has publish: false or routing not enabledCheck CPO publish flag and routing rules
Duplicate records after retryReceiver not idempotentAccept repeated PUT/POST with same IDs

Rate limits

SymptomLikely causeFix
status_code: 2004 or HTTP 429Per-party rate limit exceededBack off exponentially; see Rate Limits & Errors

Connection health

SymptomLikely causeFix
Authorization UNKNOWNCPO unreachable or not CONNECTEDPoll HubClientInfo and fix CPO availability
Partner missing from HubClientInfoCredentials or routing not completeFinish Onboarding and routing enablement

What to send support

When contacting your account team, include:

  • X-Request-ID and X-Correlation-ID
  • Timestamp (UTC), endpoint, HTTP method, party identity
  • Request/response bodies with tokens redacted

See Support & Security for security reporting and compatibility notes.