Added console logging when an internal server error happens when uploading new data