{
    "message": "Request failed with status code 400",
    "name": "AxiosError",
    "stack": "AxiosError: Request failed with status code 400\n    at settle (/Users/Ankur.Bhide/NccRepos/ncc-prototype-email-alerts-sub/node_modules/axios/lib/core/settle.js:19:12)\n    at IncomingMessage.handleStreamEnd (/Users/Ankur.Bhide/NccRepos/ncc-prototype-email-alerts-sub/node_modules/axios/lib/adapters/http.js:589:11)\n    at IncomingMessage.emit (node:events:529:35)\n    at endReadableNT (node:internal/streams/readable:1368:12)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at Axios.request (/Users/Ankur.Bhide/NccRepos/ncc-prototype-email-alerts-sub/node_modules/axios/lib/core/Axios.js:45:41)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)",
    "config": {
        "transitional": {
            "silentJSONParsing": true,
            "forcedJSONParsing": true,
            "clarifyTimeoutError": false
        },
        "adapter": [
            "xhr",
            "http",
            "fetch"
        ],
        "transformRequest": [
            null
        ],
        "transformResponse": [
            null
        ],
        "timeout": 0,
        "xsrfCookieName": "XSRF-TOKEN",
        "xsrfHeaderName": "X-XSRF-TOKEN",
        "maxContentLength": -1,
        "maxBodyLength": -1,
        "env": {},
        "headers": {
            "Accept": "application/json, text/plain, */*",
            "Content-Type": "application/json",
            "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIzNTEzODhjYS0yM2EzLTQ3NDItYWFjYi1kZDdhNzQ0OTQwYjQiLCJpYXQiOjE3MjM4MTIxNDB9.GoAiEcasDOPzI7NEZ0FPm88YZeSe8C999kh2Gi2AnAQ",
            "User-Agent": "NOTIFY-API-NODE-CLIENT/8.1.0",
            "Content-Length": "149",
            "Accept-Encoding": "gzip, compress, deflate, br"
        },
        "method": "post",
        "url": "https://api.notifications.service.gov.uk/v2/notifications/email",
        "data": "{\"template_id\":\"027170b8-a0dd-4390-bd6a-caea6b92e947\",\"email_address\":\"ankur.bhide@opencastsoftware.com\",\"personalisation\":{},\"reference\":\"refproto\"}"
    },
    "code": "ERR_BAD_REQUEST",
    "status": 400
}