Skip to content
Skip to content
← All Status Codes
405
Client Error

405 Method Not Allowed

The HTTP method used is not allowed for this resource.

Description

The 405 Method Not Allowed status code indicates that the method received in the request is not supported for the target resource. The response must include an Allow header listing the valid methods.

Common Causes

  • Using POST on a GET-only endpoint
  • Trying DELETE on a resource that doesn't support it
  • Incorrect API method in client code

How to Fix

  • Check API documentation for allowed methods
  • Use the method specified in the Allow header
  • Verify endpoint URL is correct

Check your website's HTTP status code

Check now →

Related Status Codes