Difficulty with uploading to Arduino Uno

I have issues while uploading a sketch to Arduino Uno. I'm getting the following error message.


An error occurred while uploading the sketch

avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

     System wide configuration file is "C:\Users\Kajhanan\OneDrive\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

avrdude: can't open config file "C:\Users\Kajhanan\OneDrive\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf": No such file or directory
avrdude: error reading system wide configuration file "C:\Users\Kajhanan\OneDrive\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
avrdude: error reading system wide configuration file "C:\Users\Kajhanan\OneDrive\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

Do the files exist on OneDrive? There have been issues with OneDrive in the past; not sure if they are solved in newer versions of the IDE. Which IDE version are you using?

Arduino 1.8.16. I just reinstalled it yesterday. Files do exist in OneDrive, I downloaded and installed from Windows store. What could I do?