I'm trying to enrroll audio to an IdentificationProfileId using the required format using the header "Content-Type : multipart/form-data " but I'm getting
{
聽聽聽聽"error": {
聽聽聽聽聽聽聽聽"code": "UnsupportedMediaType",
聽聽聽聽聽聽聽聽"message": "Unsupported Media Type"
聽聽聽聽}
}
@michaelstiben Thank you very much for bringing this to our attention. To help move this forward can you provide a reference to a tutorial or quickstart document you are following? It will be helpful with the investigation and resolution of the issue.
Thanks in advance.
I'm working with the documentation of swagger from the Speaker Recognition API. More accurely, I'm trying to use the method of Create enrollment.
I'm sure that I'm using a correct IdentificationProfileId and Ocp-Authentication. Also, I took the Content-Type from the Curl example that is located in the bottom (multipart/form-data). Furthermore, I'm using postman.
Finally, maybe it can be useful if I attach the audio that I have tried to enroll.
@michaelstiben Thank you for the additional detail. I have assigned this to an engineer with expertise in Cognitive Services to evaluate and assist here.
@michaelstiben Sorry I can not open you file. Could you please check if your file meets the following requirements?
Container: WAV
Encoding: PCM
Rate:16K
Sample Format: 16 bit
Channels: Mono
Thank you.
Thanks in advance.
I just have compressed a new audio. Please, let me know if you can open this one.
Also, I checked the audio's specs and metadata. Check it out:

The only think that made me feel unsure is the mime type. However, the other requirements are satisfied.
@michaelstiben Thank you, I will use this to reproduce.
@michaelstiben Could you please send us an email at [email protected] with the URL of this thread and your Azure subscription ID? I think we need investigate it deeply.
We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.
Most helpful comment
@michaelstiben Thank you for the additional detail. I have assigned this to an engineer with expertise in Cognitive Services to evaluate and assist here.