Base solution for your next web application
Open Closed

Adding TraceId in API response #11593


User avatar
0
ajayak created

How can I add TraceId in the swagger wrapper response?

{ "traceId": "My trace Id here", "result": null, "targetUrl": null, "success": false, "error": { "code": 0, "message": "An internal error occurred during your request!", "details": null, "validationErrors": null }, "unAuthorizedRequest": false, "__abp": true }


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ajayak

    Do you want to add this only for the exceptions ?