Invalid character 'r' after top-level value

My oneDrive stopped working when i try to ls or copy files to it. It gives me this error:
Failed to configure OneDrive: invalid character ‘r’ after top-level value

Take a look in your config file - rclone config file will show where it is.

has it got corrupted?

You might have to reconfigure your onedrive remote.

Which rclone versino are you using?