Path exists directory was outside array bounds

I have run it many times. but today I encountered this problem.

what should I do I need urgent help

error path exists directory was outside array bounds

image

Hi @Burak_Yildirim ,
What is your version ? Could you share your source?

Post screenshots of your activity and its properties so we can help.

image

image

You are explicitly trying to get the third item (index 2) from the arrFileDetails array, but it does not have three elements. This is what “outside the bounds of the array” means.

1 Like

@postwick but I’ve always used this job until today. this is the first time I’m facing this problem.

and I can’t upload the job because I’m a new member. to show you. :cold_sweat: :pensive:

Hey @Burak_Yildirim,

@postwick is saying correct,

Please, put a breakpoint on Path exist activity & debug your code, put arrFileDetails variable in immediate panel and check what are the values it contains and what’s the length of it!

Then try to resolve the issue by your self, or if you need more help then share the Screenshot of immediate panel with us!

Regards,
Ajay Mishra

Sorry I can’t see your work details,
But it seems your string retrieval is incorrect
maybe try using ‘message box’ or ‘log message’ with your path
Make sure it’s correct
hope you succeed