Francesco149 / sharenix

A ShareX clone for Linux and FreeBSD.
GNU General Public License v3.0
589 stars 35 forks source link

Sharenix says Request Failed when it didn't #77

Closed TrinityRei closed 2 years ago

TrinityRei commented 2 years ago

Whenever I try to screenshot, Sharenix would say the Request "Failed" but when I check my clipboard, It didn't fail. This makes it very hard to identify if the upload actually failed or not

Video of the problem:

https://user-images.githubusercontent.com/84755426/142642054-595fca9b-3444-421c-b588-75ee043cadd8.mp4

Config file:

  "DefaultFileUploader": "uguu.se",
  "DefaultImageUploader": "upload.systems",
  "XineramaHead": 0,
  "NotificationTime": 5,
  "NotifyUploading": true,
  "NotifyCommand": "",
  "ClipboardTime": 5,
  "SaveFolder": ".local/share/sharenix",
  "OrganizedFolders": false,

  "Services": [
    {
      "Name": "uguu.se",
      "RequestType": "POST",
      "RequestURL": "https://uguu.se/api.php?d=upload-tool",
      "FileFormName": "file"
    },
    {
      "Version":"13.1.0",
      "Name": "upload.systems",
      "RequestType": "POST",
      "DestinationType": "ImageUploader",
      "RequestURL": "https://api.upload.systems/images/upload",
      "Body":"MultipartFormData",

      "Arguments": {
          "key":"Private"
      },
      "FileFormName": "file",
      "URL": "$json:url$",
      "ErrorMessage":"$json:displayMessage$"
    }
  ]
}