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
I use the Media Library and have built a model that implements HasMedia and has integrated use InteractsWithMedia. Now I want to upload a file from a request and this loads very long and at the end I only get 502 Bad Gateway. If I upload it via Storage it works. I also have no error in my laravel.log.
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
-
Hey,
I use the Media Library and have built a model that implements HasMedia and has integrated use InteractsWithMedia. Now I want to upload a file from a request and this loads very long and at the end I only get 502 Bad Gateway. If I upload it via Storage it works. I also have no error in my laravel.log.
$file = $request->file('file');
// This works
// This not
The filesystem for the medialibrary is also set to s3.
The Model
The Model
Beta Was this translation helpful? Give feedback.
All reactions