Advertisement
Maxwelljonez

Error ShareX to Imgur Folder

Oct 17th, 2017
123
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Request URL:
  2. https://api.imgur.com/3/image
  3.  
  4. Response:
  5. {"data":{"error":{"code":403,"message":"Cannot change album contents while in gallery","type":"ImgurException","exception":[]},"request":"\/3\/image","method":"POST"},"success":false,"status":400}
  6.  
  7. Stack trace:
  8. at System.Net.HttpWebRequest.GetResponse()
  9. at ShareX.UploadersLib.Uploader.SendRequestFile(String url, Stream data, String fileName, String fileFormName, Dictionary`2 args, NameValueCollection headers, CookieCollection cookies, ResponseType responseType, HttpMethod method, String contentType, String metadata)
  10. 2017-10-18 00:25:24.814 - Exception:
  11. Newtonsoft.Json.JsonReaderException: Error reading string. Unexpected token: StartObject. Path 'error'.
  12. at Newtonsoft.Json.JsonReader.ReadAsString()
  13. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
  14. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
  15. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
  16. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
  17. at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
  18. at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer)
  19. at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType)
  20. at Newtonsoft.Json.Linq.JToken.ToObject[T]()
  21. at ShareX.UploadersLib.ImageUploaders.Imgur.InternalUpload(Stream stream, String fileName, Boolean refreshTokenOnError)
  22. at ShareX.WorkerTask.UploadData(IGenericUploaderService service, Stream stream, String fileName)
  23. at ShareX.WorkerTask.DoUpload(Int32 retry)
  24. 2017-10-18 00:25:24.815 - Task failed. Filename: 2017-10-18_00-25-22.jpg, Errors:
  25. Newtonsoft.Json.JsonReaderException: Error reading string. Unexpected token: StartObject. Path 'error'.
  26. at Newtonsoft.Json.JsonReader.ReadAsString()
  27. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
  28. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
  29. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
  30. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
  31. at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
  32. at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer)
  33. at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType)
  34. at Newtonsoft.Json.Linq.JToken.ToObject[T]()
  35. at ShareX.UploadersLib.ImageUploaders.Imgur.InternalUpload(Stream stream, String fileName, Boolean refreshTokenOnError)
  36. at ShareX.WorkerTask.UploadData(IGenericUploaderService service, Stream stream, String fileName)
  37. at ShareX.WorkerTask.DoUpload(Int32 retry)
  38.  
  39. Message:
  40. The remote server returned an error: (400) Bad Request.
  41.  
  42. Request URL:
  43. https://api.imgur.com/3/image
  44.  
  45. Response:
  46. {"data":{"error":{"code":403,"message":"Cannot change album contents while in gallery","type":"ImgurException","exception":[]},"request":"\/3\/image","method":"POST"},"success":false,"status":400}
  47.  
  48. Stack trace:
  49. at System.Net.HttpWebRequest.GetResponse()
  50. at ShareX.UploadersLib.Uploader.SendRequestFile(String url, Stream data, String fileName, String fileFormName, Dictionary`2 args, NameValueCollection headers, CookieCollection cookies, ResponseType responseType, HttpMethod method, String contentType, String metadata)
  51.  
  52. Newtonsoft.Json.JsonReaderException: Error reading string. Unexpected token: StartObject. Path 'error'.
  53. at Newtonsoft.Json.JsonReader.ReadAsString()
  54. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
  55. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
  56. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
  57. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
  58. at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
  59. at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer)
  60. at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType)
  61. at Newtonsoft.Json.Linq.JToken.ToObject[T]()
  62. at ShareX.UploadersLib.ImageUploaders.Imgur.InternalUpload(Stream stream, String fileName, Boolean refreshTokenOnError)
  63. at ShareX.WorkerTask.UploadData(IGenericUploaderService service, Stream stream, String fileName)
  64. at ShareX.WorkerTask.DoUpload(Int32 retry)
  65.  
  66. Message:
  67. The remote server returned an error: (400) Bad Request.
  68.  
  69. Request URL:
  70. https://api.imgur.com/3/image
  71.  
  72. Response:
  73. {"data":{"error":{"code":403,"message":"Cannot change album contents while in gallery","type":"ImgurException","exception":[]},"request":"\/3\/image","method":"POST"},"success":false,"status":400}
  74.  
  75. Stack trace:
  76. at System.Net.HttpWebRequest.GetResponse()
  77. at ShareX.UploadersLib.Uploader.SendRequestFile(String url, Stream data, String fileName, String fileFormName, Dictionary`2 args, NameValueCollection headers, CookieCollection cookies, ResponseType responseType, HttpMethod method, String contentType, String metadata)
  78. 2017-10-18 00:25:24.819 - UploadersConfig save started: D:\!Documents\ShareX\UploadersConfig.json
  79. 2017-10-18 00:25:24.819 - ApplicationConfig save started: D:\!Documents\ShareX\ApplicationConfig.json
  80. 2017-10-18 00:25:24.820 - HotkeysConfig save started: D:\!Documents\ShareX\HotkeysConfig.json
  81. 2017-10-18 00:25:24.894 - UploadersConfig save successful: D:\!Documents\ShareX\UploadersConfig.json
  82. 2017-10-18 00:25:24.912 - HotkeysConfig save successful: D:\!Documents\ShareX\HotkeysConfig.json
  83. 2017-10-18 00:25:24.928 - ApplicationConfig save successful: D:\!Documents\ShareX\ApplicationConfig.json
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement