You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to update a property on a document by calling AddOrUpdateAsync(updatedDocument...), the CouchDB server is returning the following:
ex: {"bad_request"} System.Exception {CouchDB.Driver.Exceptions.CouchException}
InnerException: {"Call failed with status code 400 (Bad Request): PUT https://admin:<redacted>@<server>/samplephotoattach___fdni/19ccc58cd18c3d529e98e958de0114d7"} System.Exception {Flurl.Http.FlurlHttpException}
Message: "bad_request" string
Reason: "Invalid attachment data for MyLittleTextDocument.txt" string
Source: "CouchDB.NET" string
StackTrace:
at CouchDB.Driver.Helpers.RequestsHelper.<SendRequestAsync>d__0`1.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at CouchDB.Driver.CouchDatabase`1.<AddOrUpdateAsync>d__22.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at EuroOCR.Web.Jobs.SamplePhotoAttach.UploadCouchDbDocumentsJobs.<>c__DisplayClass21_0.<<SyncDocumentToEdm>b__0>d.MoveNext() in C:\\Users\\..\\UploadCouchDbDocumentsJobs.cs:line 375" string
What am I doing wrong here?
Thanks,
Matt
The text was updated successfully, but these errors were encountered:
When trying to update a property on a document by calling
AddOrUpdateAsync(updatedDocument...)
, the CouchDB server is returning the following:What am I doing wrong here?
Thanks,
Matt
The text was updated successfully, but these errors were encountered: