#TBM
1 messages · Page 1 of 1 (latest)
Are there any more details or context that you can provide? I don't think we can gather much from the error message alone.
Im doing account verification tests.
where people upload the front part of their kyc document for verification.
$stripeFileUploaded = $stripe->files->create([
'purpose' => 'identity_document',
'file' => fopen(__DIR__ . '/..' . "/images/" . $theFile["FileName"], 'r')
], [
'stripe_account' => $_SESSION["logged_in"]["stripeconnectedaccountid"],
]);
this function appears to be the one giving the error.
Gotcha, are these requests returning any request IDs (req_xxx) that we can look at?
no, its inside a try cath statement so it fails and returns an error.
Hm, and are those the only requests that are failing?
We have a library that performs a reachability test, but I'm not 100% certain whether it checks the files API:
https://github.com/stripe/stripe-reachability
were do i do the code? In terminal?
Yup, usage instructions are there in the readme, but you download, unzip (if compressed), and run.