API Calls Usage increase by 2 for each request

Hi,
I made a simple api service which return string.

And total API calls usage is 15880. When I send a request to function above once, total API calls usage increase by 2 to 15882. Why is it counted as 2 instead of 1?

Hello @irwancheung

I have created an internal ticket (BKNDLSS-24588). You will be hearing from us soon. Meanwhile, whenever you’d like to get a status update for the ticket, please let us know.

Hi @Volodymyr_Ialovyi,

Any updates about this issue?

Hello @irwancheung,

we were able to reproduce the issue, we are working on the fix. We will able to release it in 1-2 weeks

Hello @irwancheung

You get 1 additional api call at the end of business logic execution because js coderunner flush logs to the developer’s repo. We will redesign our approach to not count this additional call.

1 Like