Sometimes getting no response back from POST request via API Docs of my DSP

When my android app sends insert statements to the DB2 server, it returns “ID” of the inserted value from the DSP in json format but sometimes it fails to return the value ending up with an EOFException but the values are inserted into the database.

I tried inserting the similar list of values from the API Docs one after the other and sometimes I get the following results

Response Body

no content

Response Code

0

Response Headers

{}

but again the values are successfully inserted into the database.

There are no entries in the log during the API Docs inserts process except for cache-rebuilds triggered by db2

Is this only on inserts (not updates?)
If you have other db services (not DB2) does it happen for them as well?