question

newuser-df472218-613a-418d-a7a7-c59ad4b59d6a avatar image

CanfulfillIntentRequest Validation Failing

I am getting Error: Empty or No Response from endpoint for every intent in the validation test, but when I test using the JSON request in the console I am getting what I am getting the expected response. I am sending the request -

 "request": {
    "type": "CanFulfillIntentRequest",
    "requestId": "...",
    "intent": {
        "name": "Ask_term_info",
        "confirmationStatus": "NONE",
        "slots": {
            "termslot": {
                "name": "termslot",
                "value": "frostbite",
                "confirmationStatus": "NONE",
                "source": "USER"
            }
        }
    },
    "locale": "en-US",
    "timestamp": "..."
  }


in my JSON request from the console and getting the response -

"invocationResponse": {
    "body": {
        "version": "1.0",
        "response": {
            "canFulfillIntent": {
                "canFulfill": "YES",
                "slots": {
                    "termslot": {
                        "canUnderstand": "YES",
                        "canFulfill": "YES"
                    }
                }
            }
        },
        "userAgent": "ask-node/2.5.1 Node/v12.16.1 ask-sdk-v1adapter/2.5.1",
        "sessionAttributes": {...}
    }
}


Also I am using the ask-sdk-v1adapter and withCanFulfillIntent from my API to send the response. Why is the validation saying the response is empty for every intent?


UPDATE:

The error which is being logged when I run the validations is the the certificate has expired. The signaturecertchainurl header is coming as https://s3.amazonaws.com/echo.api/echo-api-cert-7.pem only for the CanFulfillIntentRequest validations. When I send a CanFulfillIntentRequest from the console I get the correct response and https://s3.amazonaws.com/echo.api/echo-api-cert-8.pem is sent as the signaturecertchainurl. Why is the validation sending this older cert?

canfulfillintentrequest
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Anand@Amazon avatar image
Anand@Amazon answered

Hey there,

Sorry, for late response !!

Do you still seeing this issue on your end?

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.