Project

General

Profile

HTTP401 when calling the rest api (/my/account.json)

Added by Péter Rácz 16 days ago

I get HTTP401 message when I call the /my/account.json. Using basic auth or api key gives the same result. Any other request is works perfectly. What maight be the problem?

GET https://redmine.danubiusinfo.hu/my/account.json
Request Headers
Content-Type: application/json
X-Redmine-API-Key: *****************************
User-Agent: PostmanRuntime/7.39.0
Accept: */*
Postman-Token: 5de487ef-9f65-4cb7-8a24-87b150876eb8
Host: redmine.danubiusinfo.hu
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Response Headers
Server: nginx
Date: Fri, 14 Jun 2024 13:56:33 GMT
Content-Type: application/json
Content-Length: 0
Connection: keep-alive
Cache-Control: no-cache
X-Runtime: 0.017037
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
WWW-Authenticate: Basic realm="Redmine API"
X-Request-Id: bbb655ba-9f7c-4bb9-9a7b-5daab71a1c8d
X-Powered-By: Phusion Passenger 5.1.12
Status: 401 Unauthorized
Strict-Transport-Security: max-age=31536000; includeSubDomains