概要
The HTTP method is known but not supported for the target resource.
いつ発生するか
Returned when, for example, a GET is used on an endpoint that only accepts POST.
よくある原因
- Using GET where POST/PUT is required (or vice versa)
- Method not enabled on the route
- Calling a read-only endpoint with a write method
解決方法
- Use a method listed in the Allow header
- Check the API documentation for the route
- Review the route’s allowed methods on the server