You aren’t the first, and won't be the last, to conflate a charging cable with a data cable. Glad you got it sorted, and label those charging cables, so they are not confused with data cables in the future, by anyone else needing a data cable that looks the same.