I use CatalogApi() from square connect SKD (nodejs evnvironment) to obtain catalog object. Most of time there is no error happened. But sometimes, it failed to obtain catalog object using CatalogApi().
It returns status: 503. But after a certain times retry, it accomplished successfully.
The catalog id used in API cames from catalog_object_id field, which exists in each line_item of square order.
Is it a bug or sth?