Markdown s3 upload not working (404 error on /nova-api/campaigns/field-attachment/copy) #5572
-
Description:I am unable to upload files through s3 to Markdown field (withFiles('s3') option) - getting 404 error even though the URL itself exists: https://share.getcloudapp.com/2NupJPo5 Video for context: https://p147.p4.n0.cdn.getcloudapp.com/items/rRuzwWg9/9fdd6dd8-1261-454c-8c90-66a1b5099633.mp4?v=a2afebc8135a83b8c7c3bd48a97b05d6 Detailed steps to reproduce the issue on a fresh Nova installation:Setup Campaign.php model as so: https://github.com/HeadStudios/novaissue-5456-nonova/blob/main/app/Models/Campaign.php |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
404 here can be a result where Nova is unable to identify that |
Beta Was this translation helpful? Give feedback.
https://github.com/Formfeed-UK/nova-dependable-panel/blob/main/src/DependablePanel.php
DependablePanelextendsFieldand notPanel. As a result, Laravel Nova can't verify that the field exists via attribute name. This mean Nova doesn't know the correct Markdown field to be referred to and returns404. You can resolve this using a normal Panel or find a way around it.