Support the ongoing development of Laravel.io →
API React Requests
Last updated 6 months ago.
0
moderator

Did you validate that the request did receive the data?

if ($request->hasFile('document') && $request->file('document')->isValid()) {
    // the file is received.
}

If I read your log I got the feeling that your app didn't receive the file but only the meta data.

Maybe can the documentation help you: https://laravel.com/docs/9.x/requests#files

0

Sign in to participate in this thread!

LaraJobs

Your banner here too?

DoesItMatter matter22 Joined 10 Mar 2022

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.