есть такой код
$file = $request->file('image');
$avatar = Image::make($file);
$avatar->resize(280, 280, function ($constraint) {
$constraint->aspectRatio();
});
$filename = $file->getClientOriginalName();
$mime = $file->getClientOriginalExtension();
$filename = md5(time() . $filename) . '.' . $mime;
$new_path = env('STORAGE_SHOP_AVATAR');
$avatar->save(Storage::disk('s3')->path($new_path . $filename), $avatar->filesize() > 200000 ? 80 : null);
при сохранении выдает
code: 500
error: true
message: "Can't write image data to path (webassets/shops/avatar/c9c9243b028d6ee91efd2a80a0568d6e.png)"