Project

General

Profile

[.Net Core API]Error update object in redmine ยป log.txt

Quang Qui Bui, 2018-07-12 05:56

 
1
{Redmine.Net.Api.Exceptions.RedmineException: UpdateObject has invalid or missing attribute parameters: Assignee is invalid
2
 ---> System.Net.WebException: The remote server returned an error: (422) Unprocessable Entity .
3
   at System.Net.HttpWebRequest.GetResponse()
4
   at System.Net.WebClient.GetWebResponse(WebRequest request)
5
   at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
6
   at System.Net.WebClient.UploadBits(WebRequest request, Stream readStream, Byte[] buffer, Int32 chunkSize, Byte[] header, Byte[] footer)
7
   at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
8
   at System.Net.WebClient.UploadString(Uri address, String method, String data)
9
   at System.Net.WebClient.UploadString(String address, String method, String data)
10
   at Redmine.Net.Api.Internals.WebApiHelper.ExecuteUpload(RedmineManager redmineManager, String address, String actionType, String data, String methodName, NameValueCollection parameters)
11
   --- End of inner exception stack trace ---
12
   at Redmine.Net.Api.Extensions.WebExtensions.HandleWebException(WebException exception, String method, MimeFormat mimeFormat)
13
   at Redmine.Net.Api.Internals.WebApiHelper.ExecuteUpload(RedmineManager redmineManager, String address, String actionType, String data, String methodName, NameValueCollection parameters)
14
   at Redmine.Net.Api.RedmineManager.UpdateObject[T](String id, T obj, String projectId)
15
   at Redmine.Net.Api.RedmineManager.UpdateObject[T](String id, T obj)
16
   at ChatBot.RedmineAPI.IssuesBll.UpdatePropertiesOfIssues(String issueId, String account) in D:\QuiBQ\ChatBot Documentation\ChatBot Documentation\ChatBot\RedmineAPI\IssuesBll.cs:line 184}
17

    
18
0901 414 666
    (1-1/1)