cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Not happy with your Spotify Wrapped? Check out how Kevin on the Dropbox team used Paper to make sure he keeps discovering new music over 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: 
1
Ask
2
Reply and help

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

Re: My synchronization script suddenly stopped working

Greg-DB
Dropboxer

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!

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?