Continued to check the cause of the error encountered when uploading a file, as per checking, connecting in JDA is not the cause as the web application successfully extracted data from JDA and is compared in the data uploaded for validation. I requested a file successfully uploaded in the web application for testing and checking on my side. Tested the given file, and as per checking, it is successfully uploaded, thus connecting and inserting data in JDA has no problem. Checked the data to be uploaded and inserted in JDA for checking what might be the cause of the error, after checking, found out that the cause is the apostrophe on some of the descriptions of the items.