Progressive Response for a longer time(my API response time more than 25 seconds)



Hello Everyone, It is possible 25 seconds to wait for Alexa using progressive response. bcz my API response after 22 to 25 seconds. but Alexa gives “SpeechletResponse was null” error. please help me if any idea regarding that. and another way to handle this.

	    "request": {
		"type": "SessionEndedRequest",
		"requestId": "amzn1.echo-api.request.5aa22187-d0c7-48cc-9ed9-186302f007c6",
		"timestamp": "2020-03-05T08:09:52Z",
		"locale": "en-IN",
		"reason": "ERROR",
		"error": {
			"type": "INVALID_RESPONSE",
			"message": "SpeechletResponse was null"


As far as I know you can keep the session open by setting the shouldEndSession param. See and

However talking about ux you really think a user will wait 25seconds? I doubt it


Thanks, @H1Gerd for your reply.

You are right user can not wait 25 seconds. but we can play Audio while processing time.
I think need to optimize my API response time.

because Progressive responses do not change the overall time allowed for a response. When a user invokes a skill, the skill has approximately 8 seconds to return a full response. The skill must finish processing any progressive responses as well as the full response within this time.