Skip to main content

CPR Debugging Guide

Checking CPR Logs

To investigate what happened with a transaction:

  1. Go to the CPR Debugging Dashboard on Kibana
  2. Search with: "transactionid:<id>" AND "appId:<id>"
  3. The logs will contain different events that happened for the transactionId
How to read the logs

Each event follows the format <api>-<event>.

For example, get-transaction-state-started is sent when the get-transaction-state API has started.

Alternatively, you can check the Metabase table for CPR logs.

Still Not Resolved?

If debugging steps don't resolve the issue:

  1. Raise the query in #platform-sdks-requests following the Engineering Team Escalation Matrix
  2. Highlight all debugging steps performed and insights gained

Auth Token Reference Table

authenticateOnResumephoneNumber/emailuniqueId embedded?uniqueId created in BE?CPR Auth enabled?
nonot passedyesyesnot enabled
nopassedyesyesnot enabled
yesnot passednonoenabled
yespassednoyesenabled

Common Raised Issues

CPR API returning uniqueid-conflict or uniqueid invalid error

Cause: The uniqueId passed by the client is not the same as the uniqueId in CPR backend DB. This generally happens when a different uniqueId is passed for the same transactionId on a subsequent call.

Example:

  • For transactionId user_123, initially af8d0354-9d07-4c04-af5c-162bcb1ad753 was passed
  • Later, a different uniqueId is passed → API returns uniqueId-conflict

To investigate the stored uniqueId:

  1. Raise a request in #permissions with category: Permission For: AWS - PII Data Access
  2. S3 Object Paths format:
    prod-cross-platform-resume-ind/*/<appId>/<transactionId>/*

    Example:
    prod-cross-platform-resume-ind/*/c4xyy7/89974141/*

    For multiple transactionIds under one appId:
    prod-cross-platform-resume-ind/*/c4xyy7/*
  3. Once permission is granted, download the data from the prod-cross-platform-resume-ind bucket to check the uniqueId passed in the headers
OwnerUnknown
Last reviewed onNever
Last updated onApr 10, 2026
Last updated bySrinija
Was this helpful?
Ask AI

Ask anything about the internal documentation

AI answers are based on internal documentation. Verify critical information.