Article 4.5.1D : What are the Gateway Return Codes for GW2000 (MQTT) ?
 You can find this type of codes in Elnet MS log's.
 
  For example - 
 
 
   
   
    "LOG-ts 2019-07-12 13:46:37.406: SITE-ID 003055127E68 || DEV-ID || GW-TS 2019-07-11 09:02:00 || LIVE-LOG-STS LOG || REC-STS ks ACK-STS 07"
   
   
    In this case, 07 is gateway return code; now you can refer the below mentioned points for details.
   
  
 
 02: DEVICE NOT CONFIGURED-> device id is not available in client software configuration.
 03: REG_COUNT IS ZERO -> if the data string has 0 register values.
 04: DATA_STRING IS NULL ->if the data string is null.
 05: INVALID_DATA -> if the data is partial / corrupted etc.
 06: SQL_EXCEPTION -> if any server side exception while saving the data to the db.
 07: EXCEPTION -> if any other exception in the server (i.e 07 is server exception).
 08: INVALID BLOCK NUMBER -> if the blocks doesn't match with client software configuration.
 0C: Field device data CRC mismatched.
 0F: DATA SAVED/UPDATED -> if server successfully saved the received data into db.