JS Plugin SDK not writing unique records correctly in CloudQuery

Has anyone successfully gotten the JS Plugin SDK working? I’m seeing a situation where a custom plugin I’m writing is writing 83 rows with the same data, even though I’m getting 83 unique records from the source API.

Hi @assuring-dogfish,

We have a reference plugin in this repository and another one in this template repository. I don’t recall seeing sync issues with those plugins.

There are docs for JS plugins at Creating a New JS Plugin and Creating New Plugin: JavaScript Source.

But if you don’t find a solution, I recommend opening a bug report via this link so we can take a closer look. If possible, please share your plugin repository/code.

Ok, thanks. I’ll take a look.
Yeah, was our issue… thanks.