Having problems with 405 errors

Steps to reproduce

I’m not really sure what steps I took… I was working on installing wordpress manually when I found out that I broke my owncloud install. I’m not sure if any other actions were part of the cause–I haven’t logged into the web interface for a while.

  1. Part of the wordpress installation had me update php, I found out that I had php8 when previewing this form that I needed to fill out and running one of the steps. (PHP8 is not compatible)
  2. I used update-alternatives to try to remedy but this did not work.
  3. I tried to use a .htaccess file to allow some more methods. I edited the one in /var/www/owncloud I’m not sure where it should go I don’t know that this is actually controlling the access. I had run into a list of methods somewhere but I was unable to find it again when trying to put together an htaccess file. I don’t like this I think I should be able to do this in apache’s config under the sites… I have no idea why it isn’t done that way. I know there’s an AllowMethods module and I tried that but it doesn’t seem to accept the config so I don’t know what parent nodes it needs to be in and documentation only shows AllowMethods but not what needs to contain it. At any rate this had no impact on the operability of the server either.

Expected behaviour

Files should show up after logging in

Actual behaviour

No files show up after logging in and errors show up in the console.
Failed to load resource: the server responded with a status of 405 (Method Not Allowed)

Server configuration

Operating system:
Ubuntu 20.04.2 LTS
Web server:
Apache 2.4
Database:
mysql Ver 15.1 Distrib 10.3.25-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

PHP version:
php is pointing to 7.4 but 8.0 is installed on the system.
bparker@home:$ php --version
PHP 7.4.3 (cli) (built: Oct 6 2020 15:47:56) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies
ownCloud version: (see ownCloud admin page)
System Status
installed 1
maintenance
needsDbUpgrade
version 10.8.0.4
versionstring 10.8.0
edition Community
productname ownCloud

Updated from an older ownCloud or fresh install:
updated from 10.6*

Where did you install ownCloud from:
I think I installed it manually
Signing status (ownCloud 9.0 and above):

No errors have been found.

The content of config/config.php:

{
    "basic": {
        "license key": "***REMOVED SENSITIVE VALUE***",
        "date": "Fri, 10 Sep 2021 01:58:47 +0000",
        "ownCloud version": "10.8.0.4",
        "ownCloud version string": "10.8.0",
        "ownCloud edition": "Community",
        "server OS": "Linux",
        "server OS version": "Linux home.dreamersnet.net 5.8.0-41-generic #46~20.04.1-Ubuntu SMP Mon Jan 18 17:52:23 UTC 2021 x86_64",
        "server SAPI": "apache2handler",
        "webserver version": "Apache\/2.4.41 (Ubuntu)",
        "hostname": "***",
        "logged-in user": "Ben"
    },
    "stats": {
        "users": {
            "Database": {
                "count": 5,
                "seen": 5,
                "logged in (30 days)": 4
            }
        },
        "groups": {
            "OC\\Group\\Database": 2
        }
    },
    "config": {
        "instanceid": "ocwu54f268g9",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "****",
            "****",
            "10.0.10.50"
        ],
        "datadirectory": "\/var\/www\/owncloud\/data",
        "overwrite.cli.url": "****",
        "dbtype": "mysql",
        "version": "10.8.0.4",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "apps_paths": [
            {
                "path": "\/var\/www\/owncloud\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/owncloud\/apps-external",
                "url": "\/apps-external",
                "writable": true
            }
        ],
        "installed": true,
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "php",
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "loglevel": 2,
        "maintenance": false
    },
    "integritychecker": {
        "passing": true,
        "enabled": true,
        "result": []
    },
    "core": {
        "enable_external_storage": "yes",
        "first_install_version": "10.6.0.5",
        "installedat": "1615062194.3087",
        "lastcron": "1631239123",
        "lastupdateResult": "[]",
        "lastupdatedat": "1631237513",
        "public_files": "files_sharing\/public.php",
        "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
        "updater.secret.created": "1631236501",
        "vendor": "owncloud"
    },
        "date": {
            "date\/time support": "enabled",
            "timelib version": "2018.03",
            ""Olson" Timezone Database Version": "0.system",
            "Timezone Database": "internal",
            "Default timezone": "UTC",
            "date.default_latitude": "31.7667",
            "date.default_longitude": "35.2333",
            "date.sunrise_zenith": "90.583333",
            "date.sunset_zenith": "90.583333",
            "date.timezone": "no value"
        },
        "dom": {
            "DOM\/XML": "enabled",
            "DOM\/XML API Version": "20031129",
            "libxml Version": "2.9.10",
            "HTML Support": "enabled",
            "XPath Support": "enabled",
            "XPointer Support": "enabled",
            "Schema Support": "enabled",
            "RelaxNG Support": "enabled"
        },
        "exif": {
            "EXIF Support": "enabled",
            "Supported EXIF Version": "0220",
            "Supported filetypes": "JPEG, TIFF",
            "Multibyte decoding support using mbstring": "enabled",
            "Extended EXIF tag formats": "Canon, Casio, Fujifilm, Nikon, Olympus, Samsung, Panasonic, DJI, Sony, Pentax, Minolta, Sigma, Foveon, Kyocera, Ricoh, AGFA, Epson",
            "exif.decode_jis_intel": "JIS",
            "exif.decode_jis_motorola": "JIS",
            "exif.decode_unicode_intel": "UCS-2LE",
            "exif.decode_unicode_motorola": "UCS-2BE",
            "exif.encode_jis": "no value",
            "exif.encode_unicode": "ISO-8859-15"
        },
        "FFI": {
            "ffi.enable": "preload",
            "ffi.preload": "no value"
        },
        "fileinfo": {
            "fileinfo support": "enabled",
            "libmagic": "537"
        },
        "filter": {
            "Input Validation and Filtering": "enabled",
            "filter.default": "unsafe_raw",
            "filter.default_flags": "no value"
        },
        "ftp": {
            "FTP support": "enabled",
            "FTPS support": "enabled"
        },
        "gd": {
            "GD Support": "enabled",
            "GD headers Version": "2.2.5",
            "GD library Version": "2.2.5",
            "FreeType Support": "enabled",
            "FreeType Linkage": "with freetype",
            "GIF Read Support": "enabled",
            "GIF Create Support": "enabled",
            "JPEG Support": "enabled",
            "PNG Support": "enabled",
            "WBMP Support": "enabled",
            "XPM Support": "enabled",
            "XBM Support": "enabled",
            "WebP Support": "enabled",
            "BMP Support": "enabled",
            "TGA Read Support": "enabled",
            "gd.jpeg_ignore_warning": "1"
        },
        "gettext": {
            "GetText Support": "enabled"
        },
        "hash": {
            "hash support": "enabled",
            "Hashing Engines": "md2 md4 md5 sha1 sha224 sha256 sha384 sha512\/224 sha512\/256 sha512 sha3-224 sha3-256 sha3-384 sha3-512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b crc32c fnv132 fnv1a32 fnv164 fnv1a64 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5",
            "MHASH support": "Enabled",
            "MHASH API Version": "Emulated Support"
        },
        "iconv": {
            "iconv support": "enabled",
            "iconv implementation": "glibc",
            "iconv library version": "2.31",
            "iconv.input_encoding": "no value",
            "iconv.internal_encoding": "no value",
            "iconv.output_encoding": "no value"
        },
        "igbinary": {
            "igbinary support": "enabled",
            "igbinary version": "3.1.2",
            "igbinary APCu serializer ABI": "0",
            "igbinary session support": "yes",
            "igbinary.compact_strings": "On"
        },
        "imap": {
            "IMAP c-Client Version": "2007f",
            "SSL Support": "enabled",
            "Kerberos Support": "enabled",
            "imap.enable_insecure_rsh": "Off"
        },
...
       "zip": {
            "Zip": "enabled",
            "Zip version": "1.15.6",
            "Libzip headers version": "1.5.1",
            "Libzip library version": "1.5.1"
        },
        "zlib": {
            "Stream Wrapper": "compress.zlib:\/\/",
            "Stream Filter": "zlib.inflate, zlib.deflate",
            "Compiled Version": "1.2.11",
            "Linked Version": "1.2.11",
            "zlib.output_compression": "Off",
            "zlib.output_compression_level": "-1",
            "zlib.output_handler": "no value"
        },
        "Environment": {
            "APACHE_RUN_DIR": "\/var\/run\/apache2",
            "APACHE_PID_FILE": "\/var\/run\/apache2\/apache2.pid",
            "JOURNAL_STREAM": "8:13464972",
            "INVOCATION_ID": "4a0e2397d7074bb0a06970eed05d6055",
            "APACHE_LOCK_DIR": "\/var\/lock\/apache2",
            "LANG": "C",
            "APACHE_RUN_USER": "www-data",
            "APACHE_RUN_GROUP": "www-data",
            "APACHE_LOG_DIR": "\/var\/log\/apache2",
            "PWD": "\/"
        }
    }
}

the file was too large to include all of it… I also needed to edit it as it detected links. This might’ve been because I messed up the code blocks…

List of activated apps:

Enabled:
  - comments:
    - Version: 0.3.0
    - Path: /var/www/owncloud/apps/comments
  - configreport:
    - Version: 0.2.0
    - Path: /var/www/owncloud/apps/configreport
  - dav:
    - Version: 0.6.0
    - Path: /var/www/owncloud/apps/dav
  - federatedfilesharing:
    - Version: 0.5.0
    - Path: /var/www/owncloud/apps/federatedfilesharing
  - federation:
    - Version: 0.1.0
    - Path: /var/www/owncloud/apps/federation
  - files:
    - Version: 1.5.2
    - Path: /var/www/owncloud/apps/files
  - files_external:
    - Version: 0.8.0
    - Path: /var/www/owncloud/apps/files_external
  - files_mediaviewer:
    - Version: 1.0.4
    - Path: /var/www/owncloud/apps/files_mediaviewer
  - files_sharing:
    - Version: 0.14.0
    - Path: /var/www/owncloud/apps/files_sharing
  - files_trashbin:
    - Version: 0.9.1
    - Path: /var/www/owncloud/apps/files_trashbin
  - files_versions:
    - Version: 1.3.0
    - Path: /var/www/owncloud/apps/files_versions
  - firstrunwizard:
    - Version: 1.2.0
    - Path: /var/www/owncloud/apps/firstrunwizard
  - market:
    - Version: 0.6.1
    - Path: /var/www/owncloud/apps/market
  - notifications:
    - Version: 0.5.4
    - Path: /var/www/owncloud/apps/notifications
  - onlyoffice:
    - Version: 6.4.3
    - Path: /var/www/owncloud/apps-external/onlyoffice
  - provisioning_api:
    - Version: 0.5.0
    - Path: /var/www/owncloud/apps/provisioning_api
  - systemtags:
    - Version: 0.3.0
    - Path: /var/www/owncloud/apps/systemtags
  - updatenotification:
    - Version: 0.2.1
    - Path: /var/www/owncloud/apps/updatenotification
  - web:
    - Version: 1.0.2
    - Path: /var/www/owncloud/apps-external/web
Disabled:
  - encryption:
    - Path: /var/www/owncloud/apps/encryption
  - external:
    - Path: /var/www/owncloud/apps/external
  - user_external:
    - Path: /var/www/owncloud/apps/user_external

Are you using external storage, if yes which one: local/smb/sftp/…

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: no

Client configuration

Browser:
Chrome
Operating system:
Windows

Logs

Web server error log

[Thu Sep 09 00:09:28.533951 2021] [allowmethods:error] [pid 1807385] [client 24.144.254.214:56161] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:10:20.611329 2021] [allowmethods:error] [pid 1806095] [client 10.0.10.1:52701] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:10:30.505659 2021] [allowmethods:error] [pid 1806052] [client 24.144.254.214:56169] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:11:22.639894 2021] [allowmethods:error] [pid 1806050] [client 10.0.10.1:61439] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:11:32.525996 2021] [allowmethods:error] [pid 1806049] [client 24.144.254.214:50919] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:12:24.598499 2021] [allowmethods:error] [pid 1806047] [client 10.0.10.1:59835] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:12:34.526246 2021] [allowmethods:error] [pid 1806379] [client 24.144.254.214:62488] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:13:26.609379 2021] [allowmethods:error] [pid 1806047] [client 10.0.10.1:55902] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:13:36.511653 2021] [allowmethods:error] [pid 1806379] [client 24.144.254.214:62497] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:14:28.608782 2021] [allowmethods:error] [pid 1806050] [client 10.0.10.1:55907] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:14:38.523806 2021] [allowmethods:error] [pid 1807385] [client 24.144.254.214:62498] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:15:30.603012 2021] [allowmethods:error] [pid 1806052] [client 10.0.10.1:56439] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:15:40.546351 2021] [allowmethods:error] [pid 1806048] [client 24.144.254.214:62499] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:16:32.609238 2021] [allowmethods:error] [pid 1807385] [client 10.0.10.1:56717] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:16:42.511034 2021] [allowmethods:error] [pid 1806049] [client 24.144.254.214:63871] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:17:34.603603 2021] [allowmethods:error] [pid 1806095] [client 10.0.10.1:50040] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:17:44.515444 2021] [allowmethods:error] [pid 1806052] [client 24.144.254.214:63872] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:18:36.602826 2021] [allowmethods:error] [pid 1807385] [client 10.0.10.1:50888] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:18:46.516439 2021] [allowmethods:error] [pid 1806049] [client 24.144.254.214:63882] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:19:38.595191 2021] [allowmethods:error] [pid 1806379] [client 10.0.10.1:50073] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php
[Thu Sep 09 00:19:48.530766 2021] [allowmethods:error] [pid 1806095] [client 24.144.254.214:63884] AH01623: client method denied by server configuration: 'PROPFIND' to /var/www/owncloud/remote.php

ownCloud log (data/owncloud.log)

{"reqId":"VmpRZZ42mzBzIOn8S1Gx","level":2,"time":"2021-08-12T19:47:31+00:00","remoteAddr":"181.214.215.140","user":"--","app":"core","method":"GET","url":"\/owncloud\/","message":"Trusted domain error. \"181.214.215.140\" tried to acces>
{"reqId":"bGhnVAZcs2QE8oPHdhgO","level":2,"time":"2021-08-12T19:47:36+00:00","remoteAddr":"181.214.215.140","user":"--","app":"core","method":"GET","url":"\/owncloud\/","message":"Trusted domain error. \"181.214.215.140\" tried to acces>
{"reqId":"hCegUu6CJYGqpFeoyGw5","level":2,"time":"2021-08-12T19:47:44+00:00","remoteAddr":"181.214.215.140","user":"--","app":"core","method":"GET","url":"\/owncloud\/","message":"Trusted domain error. \"181.214.215.140\" tried to acces>
{"reqId":"S046p8Bfk47hwtc6JPfq","level":2,"time":"2021-08-12T19:48:01+00:00","remoteAddr":"181.214.215.140","user":"--","app":"core","method":"GET","url":"\/owncloud\/","message":"Trusted domain error. \"181.214.215.140\" tried to acces>
{"reqId":"NGgwnrXy2FR1ou5hDDZ8","level":2,"time":"2021-08-13T07:34:55+00:00","remoteAddr":"49.12.126.16","user":"--","app":"core","method":"GET","url":"\/owncloud\/","message":"Trusted domain error. \"49.12.126.16\" tried to access usin>
{"reqId":"B8illElkUmGm1HC5hojo","level":2,"time":"2021-08-14T15:07:35+00:00","remoteAddr":"34.79.107.251","user":"--","app":"core","method":"GET","url":"\/owncloud\/","message":"Trusted domain error. \"34.79.107.251\" tried to access us>
{"reqId":"8fLYeB5y4aBVGeeypeYd","level":2,"time":"2021-08-16T21:07:29+00:00","remoteAddr":"51.254.59.113","user":"--","app":"core","method":"GET","url":"\/owncloud\/","message":"Trusted domain error. \"51.254.59.113\" tried to access us>
{"reqId":"fNHg9xHXlRGf6HThYmpE","level":2,"time":"2021-08-24T13:09:21+00:00","remoteAddr":"51.254.59.113","user":"--","app":"core","method":"GET","url":"\/owncloud\/","message":"Trusted domain error. \"51.254.59.113\" tried to access us>
{"reqId":"EDPLXh9vgjPuMN30AOWf","level":2,"time":"2021-08-29T14:14:26+00:00","remoteAddr":"54.72.2.7","user":"--","app":"core","method":"GET","url":"\/owncloud\/","message":"Trusted domain error. \"54.72.2.7\" tried to access using \"72>
{"reqId":"n4CnXckPmyV4le7tYKdh","level":2,"time":"2021-08-30T22:37:22+00:00","remoteAddr":"34.79.107.251","user":"--","app":"core","method":"GET","url":"\/owncloud\/","message":"Trusted domain error. \"34.79.107.251\" tried to access us>
{"reqId":"JWkT80QXSScFF9tsOp51","level":2,"time":"2021-08-31T21:35:11+00:00","remoteAddr":"51.254.59.113","user":"--","app":"core","method":"GET","url":"\/owncloud\/","message":"Trusted domain error. \"51.254.59.113\" tried to access us>
{"reqId":"K82h6YWAaD5AiGKwAPt0","level":2,"time":"2021-09-03T16:42:07+00:00","remoteAddr":"35.241.250.32","user":"--","app":"core","method":"GET","url":"\/owncloud\/","message":"Trusted domain error. \"35.241.250.32\" tried to access us>
{"reqId":"kYp5NceTY21WMNi87cri","level":2,"time":"2021-09-09T17:28:07+00:00","remoteAddr":"51.254.59.113","user":"--","app":"core","method":"GET","url":"\/owncloud\/","message":"Trusted domain error. \"51.254.59.113\" tried to access us>
{"reqId":"ZhhaiN8Pg1HL39iNqEaP","level":2,"time":"2021-09-09T21:55:16+00:00","remoteAddr":"10.0.10.1","user":"--","app":"core","method":"POST","url":"\/index.php\/login","message":"Login failed: 'aparker' (Remote IP: '10.0.10.1')"}
{"reqId":"my1s74sIjVZYoaVGJbvC","level":2,"time":"2021-09-09T23:14:37+00:00","remoteAddr":"10.0.10.1","user":"--","app":"core","method":"POST","url":"\/index.php\/login","message":"Login failed: 'bparker' (Remote IP: '10.0.10.1')"}
{"reqId":"96c595SPP89lGiJ49mV2","level":2,"time":"2021-09-10T01:15:02+00:00","remoteAddr":"10.0.10.1","user":"--","app":"core","method":"POST","url":"\/index.php\/occ\/config:list","message":"Invalid request to occ controller. Details: >
{"reqId":"si6nf7IOPsUYFAgUcRKF","level":0,"time":"2021-09-10T01:31:26+00:00","remoteAddr":"","user":"--","app":"core","method":"--","url":"--","message":"starting upgrade from 10.6.0.5 to 10.8.0.4"}
{"reqId":"si6nf7IOPsUYFAgUcRKF","level":0,"time":"2021-09-10T01:31:30+00:00","remoteAddr":"","user":"--","app":"core","method":"--","url":"--","message":"Migrations: starting 20210511082903 from app files_external"}
{"reqId":"si6nf7IOPsUYFAgUcRKF","level":0,"time":"2021-09-10T01:31:30+00:00","remoteAddr":"","user":"--","app":"core","method":"--","url":"--","message":"Migrations: completed 20210511082903 from app files_external"}

Browser log

JQMIGRATE: Migrate is installed, version 1.4.0
js.js?v=126506d5a02707009564b5efd6f58fbd:2340 Deprecation warning: tipsy is deprecated. Use tooltip instead.
jQuery.fn.tipsy @ js.js?v=126506d5a02707009564b5efd6f58fbd:2340
/remote.php/dav/files/bparker/:1 Failed to load resource: the server responded with a status of 405 (Method Not Allowed)
client.js?v=126506d5a02707009564b5efd6f58fbd:430 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'getElementsByTagNameNS')
    at Client._getSabreException (client.js?v=126506d5a02707009564b5efd6f58fbd:430)
    at client.js?v=126506d5a02707009564b5efd6f58fbd:494
cloud.dreamersnet.net/:1 Unchecked runtime.lastError: The message port closed before a response was received.
cloud.dreamersnet.net/:1 Error handling response: TypeError: Cannot read properties of undefined (reading 'loggedOut')

Ok so I figured out my problem. I was looking in /etc/apache2/apache2.conf and I noticed this block:

<Directory />
        Options FollowSymLinks
        AllowMethods GET POST PUT DELETE PATCH 
        AllowOverride None
        Require all denied
</Directory>

So basically it isn’t allowing PROPFIND Method. I updated it to this:

<Directory />
        Options FollowSymLinks
        AllowMethods GET POST PUT DELETE PATCH PROPFIND
        AllowOverride None
        Require all denied
</Directory>

I’m curious if maybe I should be using a different AllowOverride setting here. I can’t believe that I passed that block of code like 50 times. I could’ve sworn I also searched for AllowMethods but apparently I did not. Hope someone finds this useful!