Direct creator upload link request not saving meta

According to documentation, this should persist the “meta” section:

        $res = $client
        ->post("https://api.cloudflare.com/client/v4/accounts/$cfAccount/stream/direct_upload", [
            'json' => [
                'maxDurationSeconds' => 60 * 5,
                'meta' => [
                    'rlTenantId' => (string)$website->id,
                    'rlTenantUuid' => (string)$website->uuid,
                    'env' => app()->environment(),
                ],
            ]
        ]);

It persists maxDurationSeconds fine, but saves none of the meta fields (not visible from stream web UI or api request).

This is now fixed. Please retry and let us know if you still run into issues.

1 Like

It is working now. Thank you!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.