API Design · Middle · Question 61 of 75
Why include a correlation ID in error responses?
- ✓Correct answer: So support and developers can find the exact request in logs and traces when a client reports a problem
- 2To authenticate the user
- 3To make errors cacheable
Explanation
Problem Details' instance field or a custom traceId field can carry it.