Hello,
My synchronization script suddenly stopped working:
I'm using Laravel Framework and
"spatie/flysystem-dropbox": "^1.2"
...
$files = Storage::disk('dropbox')->files($details);
Which returns an array with all the files in the folder on dropbox
$files = array:5 [
0 => "PRINTARE FACTURI SI AWB/- PRINT FACTURI SI AWB -/DEPOZIT/FACTURI XML/2EMGLN91639761.xml"
1 => "PRINTARE FACTURI SI AWB/- PRINT FACTURI SI AWB -/DEPOZIT/FACTURI XML/2EMGLN91640706.xml"
2 => "PRINTARE FACTURI SI AWB/- PRINT FACTURI SI AWB -/DEPOZIT/FACTURI XML/2EMGLN91642191.xml"
3 => "PRINTARE FACTURI SI AWB/- PRINT FACTURI SI AWB -/DEPOZIT/FACTURI XML/FACTURA_NR_202230197_COJOCARI_ANDREEA_DPD.xml"
4 => "PRINTARE FACTURI SI AWB/- PRINT FACTURI SI AWB -/DEPOZIT/FACTURI XML/FACTURA_NR_202230198_CRING_ROMEO_DPD.xml"
]
the the script loops on $files array and runs the next logic:
$content = Storage::disk('dropbox')->get($file); // where file is "PRINTARE FACTURI SI AWB/- PRINT FACTURI SI AWB -/DEPOZIT/FACTURI XML/2EMGLN91639761.xml"
and then I get the error:
File not found at path: PRINTARE FACTURI SI AWB/- PRINT FACTURI SI AWB -/DEPOZIT/FACTURI XML/FACTURA_NR_202230198_CRING_ROMEO_DPD.xml
PS. The script was working perfectly for over an year an more then this error suddenly appeared