Wrong error returned when API keys are revoked #2121

Open
opened 2026-10-05 01:06:56 +02:00 by adam · 0 comments
Owner

Piwigo 16.0 RC2 returns a HTTP Authentication error 401 when API keys are revoked.

As for other API methods, it should instead return a HTTP 200 status code (the communication went well) and an API error telling that the keys are revoked or outdated.

Piwigo 16.0 RC2 returns a HTTP Authentication error 401 when API keys are revoked. As for other API methods, it should instead return a HTTP 200 status code (the communication went well) and an API error telling that the keys are revoked or outdated. <!-- github-sync-id:3626812399 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#2121