Support the ongoing development of Laravel.io →
API React Requests
Last updated 2 years 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!

Eventy

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.

© 2024 Laravel.io - All rights reserved.