question

newuser-1e66f052-9472-4562-9193-3a9e41cd604a avatar image

Made custom skill and implemented CanFulfillIntentRequest. But CanFulfillIntentRequest not working?

I have made a custom skill and implemented CanFulfillIntentRequest. But whenever I try to invoke it without invocation name , it provides different result. For eg, I implemented https://github.com/PaulCutsinger/Sample-For-Can-Fulfill-Intent-Request where the invocation name is "voice experts" and intent is "tell me about ". Its works fine when I use with invocation name . Without using invocation name , it gives different result. When I check on CloudWatch logs , there are no logs of the time when I didn't use any invocation name. (But it should trigger lambda since I am using CanFulfillIntentRequest). During manual JSON it works fine. Can someone tell me what might be the error that I am doing. I have looked through the forum questions and answers . But I couldn't get any definite answer to this.

alexa skillscanfulfillintentrequest
10 |5000 characters needed characters left characters exceeded

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

1 Answer

Rokas avatar image
Rokas answered

Having can fulfil intent implemented doesn't guarantee that your skill will be invoked without invocation name. Overall alexa uses CFIR only as a fallback, when it doesn't find any first party function to invoke or any second party skill.

I answered this question a couple of times, you can read this thread here and go to the link in that thread which leads to this thread.

10 |5000 characters needed characters left characters exceeded

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