Pipeline failure when input json file has 0 records

One of my pipeline is failing when the input json file has 0 records. Are there any options to make the pipeline not fail when the input file has 0 records?

Thanks.

Can you provide details on which snap fails? better yet, show us your pipeline