Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request length overflow #6

Open
Dil3mm4 opened this issue Dec 22, 2020 · 2 comments
Open

Request length overflow #6

Dil3mm4 opened this issue Dec 22, 2020 · 2 comments

Comments

@Dil3mm4
Copy link

Dil3mm4 commented Dec 22, 2020

Invalid speech in response
Telegram Connect
Request Identifier: null

Speech with id amzn1.echo-api.request.************************************ and length 9503 exceeds allowed size of 8000 characters

A truncate option should be considered to either send many speech responses as required (length divided per size) or just catch the exception truncating the whole thing to 8000 being still able to send the speech response.
Mind I don't really know if you can send two concatenated speech requests, I'm spitballin', know nothing about Alexa skills, just got it yesterday.

@LorenzHW
Copy link
Owner

Yes it probably needs to be truncated to 8000 chars then. Are these logs from Amazon Cloud Watch?

@Dil3mm4
Copy link
Author

Dil3mm4 commented Dec 23, 2020

Yes it probably needs to be truncated to 8000 chars then. Are these logs from Amazon Cloud Watch?

No, those have been obtained by Alexa web app in the home section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants