---
title: "Web API issues | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-editor/it-ops/troubleshooting/web-api/"
---

# Web API issues

> When you use PUT or DELETE requests, you may obtain the 405 Method Not Allowed error. At the same time, POST and GET requests may work properly.

## Web API methods return the 405 Method Not Allowed error

### Solution

You can disable WebDAV in the **web.config** file. Add the following code to the `<system.webServer>` node.

``` xml
<modules>
    <remove name="WebDAVModule" />
</modules>
<handlers>
    <remove name="WebDAV" />
</handlers>
```

Alternatively, you can remove the **WebDAV Publishing** role from your server.
