[#1404] Book method returns "Client authorization required"

Migrated from Redmine #1404 | Author: Thom Creative
Status: New | Priority: High, I’m very impatient | Created: 2025-04-10


Since a couple of days we’ve been seeing that the book method returns the following response:

{
“error”: {
“code”: -32068,
“message”: “Client authorization required”,
“data”:
},
“id”: “12”,
“jsonrpc”: “2.0”
}

All other methods work corretly (i.e., /login, getEventList, getEventList, getStartTimeMatrix, etc).

The API credentials are correct because with an invalid key the response is code -32600.

I cannot seem to troubleshoot this issue because there is no mention of this error code.
Does anyone know what causes this response?

Redmine Admin wrote:

did you enabled Client login additional feature maybe?

Thom Creative wrote:

Redmine Admin wrote in #note-1:

did you enabled Client login additional feature maybe?

Oh my, you’re absolutely correct. The “Client login” was checked by someone.

I’ll communicate this with my client pronto. Would it be an idea that this error message gets noted on a page somewhere? For example here: Errors handling - Errors handling - SimplyBook.me.

Thom Creative wrote:

Thom Creative wrote in #note-2:

Redmine Admin wrote in #note-1:

did you enabled Client login additional feature maybe?

Oh my, you’re absolutely correct. The “Client login” was checked by someone.

I’ll communicate this with my client pronto. Would it be an idea that this error message gets noted on a page somewhere? For example here: Errors handling - Errors handling - SimplyBook.me.

An addendum, but “why” does this happen? I’m sure my client has some reason to enable this feature.

Is there a way to make both de API booking and klant login feature compatibel with one another?

Redmine Admin wrote in #note-1:

did you enabled Client login additional feature maybe?

Thom Creative wrote in #note-2:

Redmine Admin wrote in #note-1:

did you enabled Client login additional feature maybe?

Oh my, you’re absolutely correct. The “Client login” was checked by someone.

I’ll communicate this with my client pronto. Would it be an idea that this error message gets noted on a page somewhere? For example here: Errors handling - Errors handling - SimplyBook.me.

Redmine Admin wrote:

in such case you have to use admin API to add bookings or do an authorization if client API used