question

SnailVanquisher avatar image
SnailVanquisher asked

Endpoint Validation Error

The feedback error is a simple "The skill end-point is not accepting valid signed requests. Please make sure that your signature URL validation is correct.", no further information. I currently do

final byte[] jsonString = request().body().asJson().toString().getBytes(StandardCharsets.UTF_8);
SpeechletRequestSignatureVerifier.checkRequestSignature(jsonString,
        request().getHeader(Sdk.SIGNATURE_REQUEST_HEADER),
	request().getHeader(Sdk.SIGNATURE_CERTIFICATE_CHAIN_URL_REQUEST_HEADER)); 

as my way to check the certificate URL and signature. Can someone please tell me what I am doing wrong? I have used both the service simulator and an echo dot to test this skill and neither one of them has ever been rejected with a security exception. Any help would be appreciated.

alexa skills kittestingcertificationcertificate
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

Brian@Amazon avatar image
Brian@Amazon answered

Hello Vanquisher of Snails. What skill id is this impacting? Does it invoke properly on an echo device or via echosim?

1 comment
10 |5000

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

SnailVanquisher avatar image SnailVanquisher commented ·

This is the MovieLens skill, skill id: amzn1.ask.skill.0f62d00a-da96-440a-aefb-a4f0a4387d94.

It invokes properly on echo devices. I opened Case# 4135117111 yesterday after failing certification a second time.

0 Likes 0 ·