Vineet_Kakroo | 2021-07-01 07:58:12 UTC | #1
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
Vineet_Kakroo | 2021-07-29 19:28:09 UTC | #2
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
system | 2021-09-13 12:10:27 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 11369