XML file in Assets folder not being loaded

Does Kirby block access to XML files in the assets directory? I am loading an XML file into a page template which works locally just fine using Herd but on my Apache staging server, iit wont load the xml file. I know the file exists, and if i hit it directly in the browser, i get a kirby error page. Debug is turned on and a custom error.php is there.

The files are in assets/macros/.../somefile.xml

Since works locally on Nginx, but not on an apache server, wondering if maybe the word macros is a resrved folder name maybe by Apache? I just noticecd i cant access text files in the same folder too.

How do i see what the actual error code is in the custom kirby error page. right now i just have a generic “There was an error” message.

Turned out to be a weird permissions issue, which is odd because these files are from a clone of another site which works fine ont he staging server. :person_shrugging: