Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

728
Views
Vimeo video uploading through Laravel giving -file_put_contents():Write of --- bytes failed with errno=13 Permission denied

I am trying to upload a video on Vimeo using Laravel. I have successfully installed SDK and have established connection to vimeo. However when I am trying to upload a video using-

 use Vimeo\Laravel\VimeoManager;
 use Vimeo\Laravel\Facades\Vimeo;

    public function teacherlessonAdd(Request $request,VimeoManager $vimeo)
   {
       $file_name=$request->file('lesson_video');
       $uri=$vimeo->upload($file_name,array(
        'name' => $request->name,
        'description' => $request->description,
      ));
      dd($uri);
   }

The page loads and the I get the error:

file_put_contents(): Write of 211 bytes failed with errno=13 Permission denied

Although a file of 0 mb is getting uploaded at vimeo panel.

I am on localhost and have tried

php artisan config:clear
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Check this Github issues page: https://github.com/vimeo/laravel/issues/77

Where I found the following answer:

I also face this issue but solve it with this simple step.

go into vendor/ folder.
chmod -R 775 ankitpokhrel/
chown -R www-data ankitpokhrel/
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!