You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for a 3D application I am trying to upload files with the ending .stl and .constructioninfo. The first one is a 3D format and the second one is basically a XML file.
I am using Medialibrary PRO with Vue3.
When I do not define any validation rules I get a 422 and this error.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
for a 3D application I am trying to upload files with the ending .stl and .constructioninfo. The first one is a 3D format and the second one is basically a XML file.
I am using Medialibrary PRO with Vue3.
When I do not define any validation rules I get a 422 and this error.
{ "message": "The file field must be a file of type: 7z, aiff, asc, asf, avi, avif, bmp, cap, cin, csv, dfxp, doc, docx, dotm, dotx, fla, flv, gif, gz, gzip, itt, jp2, jpeg, jpg, jpx, js, json, lrc, m2t, m4a, m4v, mcc, mid, mov, mp3, mp4, mpc, mpeg, mpg, mpsub, ods, odt, ogg, ogv, pdf, png, potx, pps, ppsm, ppsx, ppt, pptm, pptx, ppz, pxd, qt, ram, rar, rm, rmi, rmvb, rt, rtf, sami, sbv, scc, sdc, sitd, smi, srt, stl, sub, svg, swf, sxc, sxw, tar, tds, tgz, tif, tiff, ttml, txt, vob, vsd, vtt, wav, webm, webp, wma, wmv, xls, xlsx, zip." }
.stl is even mentioned in the list of valid files.
When I tried to setup validation rules
:validation-rules="{ accept: ['application/x-navistyle','application/vnd.ms-pki.stl', 'application/octet-stream', 'application/stl', 'application/sla', 'model/stl', 'model/x.stl-binary'], }"
I can then only drag files onto the upload area. The file selector does not give me files to select when I click the "+" icon.
And I receive this error message:
File type not allowed application/x-navistyle, application/vnd.ms-pki.stl, application/octet-stream, application/stl, application/sla, model/stl, model/x.stl-binary STL
This already happens for the temporary upload (S3).
Can anyone help? Very much appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions