StocksCafe API with google sheets

I’m using the code from https://kpo-and-czm.blogspot.com/2019/03/stockscafe-api-for-stock-data.html for my google sheets.

When I’m trying changing XSES to XHKG to fetch Hong Kong stock prices, it doesn’t work. Any idea why is it so?

I do not think it should be a problem. Would you like to message me privately so that you can share your google sheet with me and I will try to see why.