<@U04SE163WC8> Hi, API returns strange values, rec...
# replication-ask-ai
s
@kapa.ai Hi, API returns strange values, recordsSynced=0, recordsEmitted>0 for a successful sync with >0 rows. How it is possible? "attempts":[ { "id":0, "status":"succeeded", "createdAt":1716368793, "updatedAt":1716368932, "endedAt":1716368932, "bytesSynced":0, "recordsSynced":0, "totalStats":{"recordsEmitted":6, "bytesEmitted":256, "recordsCommitted":6}, "streamStats":[{"streamName":"region","streamNamespace":"target_master","stats":{"recordsEmitted":6,"bytesEmitted":256,"recordsCommitted":6}}] } ]
k
The
recordsSynced
and
recordsEmitted
are two different metrics in Airbyte. -
recordsEmitted
refers to the number of records that have been read from the source and emitted into the pipeline for processing. -
recordsSynced
refers to the number of records that have been successfully written to the destination. In your case, it seems like the records are being read from the source and emitted into the pipeline (
recordsEmitted
> 0), but they are not being written to the destination (
recordsSynced
= 0). This could be due to a variety of reasons such as issues with the destination configuration, network issues, or issues with the data itself. To troubleshoot this, you can check the logs for any errors or warnings. If you're unable to resolve the issue, you can post the relevant logs and details on the [Airbyte Github Issues](https://github.com/airbytehq/airbyte/issues) or [Airbyte Discuss Forum](https://discuss.airbyte.io/) for further assistance.
s
@kapa.ai Actually, recordsCommited=6, the same as emitted, and sync really worked fine and transmitted and stored 6 rows. Only API returns the strange value for recordsSynced metric. Any idea why?
k
A message from kapa.ai
New message text here