Skip to content

shareX upload not working on v2 #78

Description

@Jordan8631

Error message:
The remote server returned an error: (401) Unauthorized.

Request URL:
https://share.hidden.domain/api/upload

Status code:
(401) Unauthorized

Headers:
Connection: keep-alive
Access-Control-Allow-Origin: *
Pragma: no-cache
Content-Length: 30
Cache-Control: private, must-revalidate
Content-Type: application/json
Date: Mon, 09 Sep 2024 04:28:44 GMT
Expires: -1
Server: nginx/1.22.1
X-Powered-By: PHP/8.3.10

Response text:
{"message":"Unauthenticated."}

Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at ShareX.UploadersLib.Uploader.SendRequestFile(String url, Stream data, String fileName, String fileFormName, Dictionary`2 args, NameValueCollection headers, CookieCollection cookies, HttpMethod method, String contentType, String relatedData)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions