@Bree Thanks for posting in our Q&A.
For this issue, this error code is very general. To clarify this issue, we appreciate your help to clarify something:
1.Which is OS version of your device?
2.It is suggested to check if the following registry key is added.
HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\OneDrive\DisablePersonalSync key. It's DWORD value should be 1.
If there is anything update, feel free to let us know.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.