I am creating a custom module to get
categories and regarding products from
API and uploading them to the site.
After creating a
Categories, in the backend, there are duplicate categories created for some categories.
I am not getting the issue as this is not happening for all other categories.
The issue is every time
Cron runs it creates the same category again.
Below is the snapshot of my category page in the backend.