Forum Discussion

TheBigLo's avatar
TheBigLo
Frequent Visitor
4 years ago

error due to an empty file when importing the data

 

I'm using a json from a webservice with parameters (to speed up acquisition) as the data source.

these parameters are dynamic.

 

 This can have the effect of returning an empty file to me, which gives me the following error.

 

DataFormat.Error: <pii>We reached the end of the buffer.</pii>. . The exception was raised by the IDbCommand interface.

 

Is it possible to prevent this error in case of empty file?

 

1 Reply