go-avs
go-avs copied to clipboard
I need to call v1/avs/speechrecognizer/recognize
Hi All, I am doing 1st time with go language and Alexa voice services. in my project, I need to utilize Alexa API but I am not getting help from anywhere.
When I invoke service 'https://avs-alexa-eu.amazon.com/v1/avs/speechrecognizer/recognize' with request json below I am getting
REQUEST JSON:
{ "context": [ ], "event": { "header": { "dialogRequestId": "abc123dialog", "messageId": "abc123", "name": "Recognize", "namespace": "SpeechRecognizer" }, "payload": { "profile": "CLOSE_TALK", "format": "AUDIO_L16_RATE_16000_CHANNELS_1" } } }
RESPONSE ERROR:
{ "error": { "code": "INTERNAL_SERVICE_EXCEPTION", "message": "Invalid Resource Requested" } }
Please help to call the 'v1/avs/speechrecognizer/recognize' service. If any other information required please let me know.
Thanks In Advance.
Regards, Dinesh Gupta