'SPGO Error when trying to connect to SP On-Prem

I am new to SPGO and trying to use on SP On-Prem 2016 in a corp environment. I do not have to sign into SP but am authenticated via CAC. I chose NTLM but was prompted for my credentials so I don't know what the password is since I don't have to enter one. I then tried the "AddinOnly" method and was able to supply a client ID, entering "", secret: "", and realm: "". I did this by first registering an app and generating that info. That got me a little closer (or so it seemed). My workspace resides in C:\Users\myName\SPSites

SPGo.json setup: { "sourceDirectory": "src", "sharePointSiteUrl": "https://fake.com/sitename/site", "workspaceRoot": "c:\Users\myName\SPSites", "publishWorkspaceOptions": { "destinationFolder":"/", "globPattern":"c:\Users\myName\SPSites\src*.", "localRoot":"c:\Users\myName\SPSites\src" }, "publishingScope": "SaveOnly", "authenticationType": "AddinOnly", "remoteFolders": [ "/siteassets/" ] }

app permissions:

     <AppPermissions AllowAppOnlyPolicy="true">
     <AppPermissionRequest Scope="http://sharepoint/content/sitecollection" Right="FullControl"/>
     </AppPermissionRequests>

VSCodeVersion: 1.65.0 SP On-Prem: 2016

It says Starting File Synchronization when I try to populate workspace and it just hangs with Populating Workspace (bottom left) just spinning. Eventually I get an error about the workspace.

Also got this error, which is new: Output: syntax error: Unexpected token m in JSON at position 363. Might just be my typing. So I did populate workspace again and entered app credentials (client id, etc). It is now just hanging, Starting File Synchronization ... Populating Workspace



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source