Decoding Error Postman vs http request

even though I create and send the same requests from postman, I still get the same decoding error.

    try {
            $file=$request->file('file');
            $token     =  config('services.cloudflare.token');
            $accountId =  config('services.cloudflare.acountId');
            $client    =  new Client();

            $client->request('POST', 'https://api.cloudflare.com/client/v4/accounts/'.$accountId.'/stream/', [
                'headers' => [
                    'Authorization'=> 'Bearer '.$token,
                ],
                'multipart' => [
                    'file' => [
                        'contents' => file_get_contents($file),
                        'name' => 'new-video.' . $file->getClientOriginalExtension(),
                    ]
                ]
            ]);
        }
        catch (\Exception $exception)
        {
            dd($exception);
        }

A post was merged into an existing topic: Decoding Error 100004