cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

My synchronization script suddenly stopped working

My synchronization script suddenly stopped working

DanielTucan
New member | Level 2

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

 
1 Reply 1

Greg-DB
Dropbox Staff

There was a service disruption earlier that may have caused this issue, however I can't say for sure based on this error output. That disruption is resolved now, so please let me know if you're still seeing this issue. Thanks!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?