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

CanFulfillIntentRequest Type error #3

Open
RobotX5 opened this issue Apr 20, 2023 · 2 comments
Open

CanFulfillIntentRequest Type error #3

RobotX5 opened this issue Apr 20, 2023 · 2 comments

Comments

@RobotX5
Copy link

RobotX5 commented Apr 20, 2023

Hello i am trying to use the CanFulfillIntent.
I am getting a type error
System.ArgumentOutOfRangeException : Unknown request type: CanFulfillIntentRequest. (Parameter 'Type')

any advice?

please note i also posted an issue on alexa.net.
I am feel the change needs to be made to the Type in alexa.net.
timheuer/alexa-skills-dotnet#261

@RobotX5
Copy link
Author

RobotX5 commented Apr 20, 2023

I think this may be my issue timheuer/alexa-skills-dotnet#121
how would i call this in a startup in dot net 6 i don't have a startup script anymore?
CanFulfillIntentRequestConverter.AddToRequestConverter();

@stoiveyp
Copy link
Owner

Hiya - apologies for the delay I've been travelling for a client site.

The code needs to be run somewhere statically - so you should be able to put it in your program.cs file

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