Always getting a Header illegal issue from the TTS service when deploying the service
Each time i try to convert a single target PDF using the sample test python file , i get an "illegal header" error once the TTS service get involved/invoked with the following error:
[01:45:24] agent: processing - Combining segment 4/6 with existing dialogue
[01:45:52] agent: processing - Combining segment 5/6 with existing dialogue
[01:46:30] agent: processing - Combining segment 6/6 with existing dialogue
[01:47:13] agent: processing - Formatting final conversation
[01:47:51] agent: completed - Transcription completed successfully
[01:47:51] tts: pending - Job created
[01:47:51] tts: processing - Processing 49 dialogue entries
[01:47:51] tts: processing - Processing batch 1 of 49
**[01:47:51] tts: failed - Illegal header value b'sk_6210a6598c30e303a01eca0c84520fc315cc997e714594ab '
[01:47:51] Job failed in tts: Illegal header value b'sk_6210a6598c30e303a01eca0c84520fc315cc997e714594ab '**

It seems there is a trailing space in the header value i cannot locate it to rectify it actually. Appreciate your help

Regards, 