Microsoft365R Package, working with onedrive, uploading file to odb from local machine, run into JSON error

Trying to move files from local drive to onedrive, running this command:

odb$upload_file("test.R","C:\Users\B1*****\OneDrive -******\rTestDest")

trying to upload the file test.R to the destination which is a folder in my onedrive called rTestDest.

I keep getting this error:

Error in process_response(res, match.arg(http_status_handler), simplify) :
Bad Request (HTTP 400). Failed to complete operation. Message:
Empty Payload. JSON content expected.

Any advice?

I wonder if looking at this page would be helpful ?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.