Defect #10241

"get version by ID" fails with "401 not authorized" error when using API access key

Added by Alex Last about 6 years ago. Updated about 6 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:REST API
Target version:1.3.2
Resolution:Fixed Affected version:1.3.1

Description

trying the same with login and password works fine.
other requests (get project or whatever) with the same API Access key work fine.

Associated revisions

Revision 8880
Added by Jean-Philippe Lang about 6 years ago

Allow API auth on GET /versions/:id (#10241).

History

#1 Updated by Alex Last about 6 years ago

my Redmine is behind Apache2

#2 Updated by Jean-Philippe Lang about 6 years ago

  • Assignee set to Jean-Philippe Lang
  • Target version set to 1.3.2
  • Resolution set to Fixed

Fixed in r8880.

#3 Updated by Alex Last about 6 years ago

great news, thanks. I can't find revision 8880 in SVN, though. The latest one is currently 8875

#4 Updated by Alex Last about 6 years ago

  • Status changed from New to Resolved

don't know why the status got changed to "new". I will change it to "resolved".

#5 Updated by Alex Last about 6 years ago

oh, wait. "Status" and "resolution" are different fields now... so maybe you wanted to keep the status as "new" for some reason. I can't change it back.

#6 Updated by Etienne Massip about 6 years ago

Alexey Skor wrote:

oh, wait. "Status" and "resolution" are different fields now... so maybe you wanted to keep the status as "new" for some reason. I can't change it back.

It's fine as Resolved =)

#7 Updated by Alex Last about 6 years ago

ok, btw, maybe you could comment on this weird issue we have with Redmine authorization in Redmine Java API: http://code.google.com/p/redmine-java-api/issues/detail?id=72

it seems quite inconsistent. sometimes it works, sometimes it does not and we don't see a pattern there.

#8 Updated by Jean-Philippe Lang about 6 years ago

  • Status changed from Resolved to Closed

Merged.

Alexey Skor wrote:

ok, btw, maybe you could comment on this weird issue we have with Redmine authorization in Redmine Java API: http://code.google.com/p/redmine-java-api/issues/detail?id=72

it seems quite inconsistent. sometimes it works, sometimes it does not and we don't see a pattern there.

Maybe the same as #10303.

Also available in: Atom PDF