Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

I get HTTP Error 405.0 - Method Not Allowed when running #19

Open
syedhassanabbas opened this issue Jun 6, 2018 · 1 comment
Open

Comments

@syedhassanabbas
Copy link

Hi Team,

Thanks for developing this bot for Microsoft Teams. Unfortunately, I am struggling to run the bot. I have met all Prerequisites and followed the "Steps to see the bot running in the Bot Emulator" but when I run the bot in latest bot emulator (botframework-emulator-setup-4.0.15-alpha.exe) with ngrok configured I get the error below. I have tried it on my office machine (Windows 7) and my personal machine (Windows 10) but no luck. All other bots I have, are running fine. I see the post method in the controller but no idea why post verb is not accepted. Any idea what could be the issue?

Error Details:
HTTP Error 405.0 - Method Not Allowed
The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.

Most likely causes:
The request sent to the Web server used an HTTP verb that is not allowed by the module configured to handle the request.
A request was sent to the server that contained an invalid HTTP verb.
The request is for static content and contains an HTTP verb other than GET or HEAD.
A request was sent to a virtual directory using the HTTP verb POST and the default document is a static file that does not support HTTP verbs other than GET or HEAD.

Things you can try:
Verify the list of verbs enabled for the module handler this request was sent to, and ensure that this verb should be allowed for the Web site.
Check the IIS log file to see which verb is not allowed for the request.
Check the failed request tracing logs for additional information about this error. For more information, click here https://support.microsoft.com/en-us/help/942051

@jotrick
Copy link
Contributor

jotrick commented Aug 15, 2018

Hello,

Are you still having issues with this? I THINK they have made some updates to the emulator. Did they fix your issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants