Media protection on M2 giving 404 on PDF

I'm trying to use the media protection features but when I go to the attachment page and click the link to download I get a 404.

If I use the actual url of the attachment I can access the file.

Ran a plugin conflict test and theme conflict test but got the same issue.

After enabling media protection it was updated the permalink too but got the same issue.

Thanks in advance!