[#1173] Getting Error from API

Migrated from Redmine #1173 | Author: TET CHAN
Status: Feedback | Priority: Immediate, there is BUG! | Created: 2024-02-21


Hi,
From last evening (timezone : HKG), my client found their website can’t fetch the event list by the API.
We checked and found that we can get the token by JsonRpcClient.
However when we used another functions (such as ‘getAvailableTimeIntervals’, ‘getEventList’), they all return as following,


stdClass Object
(
    [error] => stdClass Object
        (
            [code] => -32600
            [message] => Invalid request
            [data] => Array
                (
                )
        )
    [id] => 1
)

Even we tried API Explorer, it return same return as attached image.

Dmytro Bondarev wrote:

Hi, please try again. It should work now.
We would suggest you to use user-api.simplybook.asia endpoint for json rpc and user-api-v2.simplybook.asia for REST API.