Migrated from Redmine #1093 | Author: Jagan Pandurangan
Status: Feedback | Priority: High, I’m very impatient | Created: 2023-08-17
Hey team, I am using the “book” api to book a service that requires membership.
- I have ensure that the slot is available
- All the booking dates and slots are within the membership period (the membership duration is 5 years and is long enough)
- I am using the correct “client_membership_id” in the request payload
We are using json rpc method for this. The request payload is this
{
"jsonrpc": "2.0",
"method": "book",
"params": [
"24",
"22",
"2023-08-27",
"19:00:00",
{
"client_id": "34",
"client_sign": "639448b1f2ad7b52eff5430a4a53c94d"
},
{
"handle_invoice": true,
"4a23dbbaef6ffd53a9b1d9c3c9f218d3": "null ",
"8d710a3f9e0fa23280bab560486ef0d5": "",
"client_membership_id": "43"
},
1,
null
],
"id": "34"
}
And the response is this,
{
"error": {
"code": -32050,
"message": "Membership limit error",
"data": []
},
"id": "34",
"jsonrpc": "2.0"
}
I suspect that even if the issue is something else, the API is returning “Membership limit error”