Hi Team,
I am trying to access the transcript from my Apex script but am not receiving the below response.
When calling the transcript URL, I receive:
[Status=Found, StatusCode=302]
I have implemented redirection logic in Apex as follows:
if (res.getStatusCode() == 302) {
System.debug(‘>>> Inside 302 Block:’);
String locationHeader = res.getHeader(‘Location’);
System.debug('New Location >>> ’ + locationHeader);
}
However, the Location header is always null.
Could you please assist in understanding how to properly retrieve the transcript?