Error with postSpeechandtextanalyticsTopics API

Hello All,
I would like some help with understanding the error postSpeechandtextanalyticsTopics API is generating.
I am using the SDK and seem to have set the API correctly but I am getting the following error; {"message":"Wrong request structure","code":"bad.request","status":400,"contextId":"5d40cb1b-d688-404c-ada5-920724dcf79f","details":[],"errors":[]}
I am using the API as postSpeechandtextanalyticsTopics(TopicRequest Body) as the API Call with all the TopicRequest data set, but not sure what I am missing.
Elements of the TopicRequest that are set are name, description, strictness, programid (1 program), tags (empty list), dialect, participants, phrases (non-empty list).

Here is the screen-shot of the call parameters just before the error.

Any help is really appreciated.

Regards
Vineet

Hello All,

I have found the answer why this API was failing. One of the Phrase that I had read from a text file was blank and the API could not handle it.
The error returned by the API does not help either in understanding what actually is the issue. It is a generic statement about something being wrong, but that does not help.

Regards
Vineet

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.