REST API error code: 401 instead of 503
Closed this issue · 1 comments
benoitchantre commented
Actually, the error code is a 401
, meaning a client error (wrong authentication credentials).
I think it should be a 503
to describe a server error.
The error message could be also improved more descriptive, for example : This site is under maintenance, the REST API access is currently restricted. instead of REST API access is currently restricted while we refresh things a bit.
nielslange commented
Closing this ticket as this issue had been fixed with #31.