Attempting to use the jira-cloud api to make an issue in Jira. This works on my local.
When running via my API (hosted in AWS). I get ECONNRESET, which from my research means the server closed the socket.
How do I get around this?
const { data } = await axios.post( `${process.env.BASE_URL}/rest/api/3/issue`,
body,
{ Authorization: `Basic ${process.env.SECRET_JIRA_TOKEN}`,
"Content-Type": "application/json",
Accept: "*/*", } );
*Code if needed