Behavior:
When attempting to authenticate using the .NET SDK, you encounter the following error;
"406 Not Acceptable"
The following code was used, which resulted in this error;public static ServiceConnection Connect()
{
return ServiceConnection.Create("https://PetersEngineering/DocuWare", "admin", "admin");
}
Solution:
This error occurs when the URI being provided is not properly formatted. Please ensure that the URI provided is using the following format;
For On-premise systems: http://{server}\DocuWare\Platform
For Cloud systems: https://{OrgName}.DocuWare.Cloud\DocuWare\Platform
The following example would work in this case;public static ServiceConnection Connect()
{
return ServiceConnection.Create("https://PetersEngineering/DocuWare/Platform", "admin", "admin");
}
KBA is applicable for both Cloud and On-premise Organizations.
Views:
This article is valid for DocuWare versions: 7, 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 7.7, 7.8, 7.9, 7.10, 7.11, SDK, 406 Not Acceptable, Authentication