Azure-Cognitive-Services icon indicating copy to clipboard operation
Azure-Cognitive-Services copied to clipboard

Compilation Error Related to No Overload Version (zure.API3.Speech.SpeechToText)

Open Centranix opened this issue 3 years ago • 0 comments

[dcc64 Error] Azure.API3.Speech.SpeechToText.pas(100): E2250 There is no overloaded version of 'AddBody' that can be called with these arguments

Reverting line 100 from: RESTRequest.AddBody(AInputStream, 'audio/wave');

Back to the most recent changelog, and to: RESTRequest.Body.JSONWriter.WriteRaw(TStringStream(AInputStream).DataString);

Resolves the issue.

Centranix avatar Sep 16 '22 16:09 Centranix