AWS s3 - not loading pdf's to Railway production - Rails app

I am new to railway. I am also new to using AWS in production. This is a rails 7 app; I am using AWS S3 for storage both in development and production on Railway. I am storing both images and pdf's. In local development both images and pdf's will load to the view from AWS but on railway only the images will load. Both images and pdf's use a turbo frame to lazy load the files. As a quick test I have tried using local storage with the railway production app, again the same thing where the image will display but the pdf will not.
3 Replies
Percy
Percy2y ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
Percy
Percy2y ago
It is likely that the production standards for Railway are different than the local environment, and this could be causing the issue with the PDFs not loading. It is recommended to review the Railway documentation to ensure that the production standards are being met.
⚠️ experimental feature
Percy
Percy2y ago
No project ID was provided. Closing thread.