Duplicate fields reappearing after deletion
Hello!
I’m running into a repeating issue in my Shopify app: https://admin-action-block.gadget.app/
I keep getting errors like: Duplicate API identifier "defaultRole", "contactRoleAssignments"
When I delete the duplicate fields, the error disappears, but it comes back later.
In my shopifyCompany model, I can see duplicates being created:
Two defaultRole fields (both belongsTo)
Two contactRoleAssignments fields (both hasMany)
This problem started appearing after a recent Shopify version update, and it looks like the sync/auto-generation process keeps re-adding these duplicates even after cleanup.
Could someone help me?
6 Replies
Hello,
Do you mind if I run a command on your development environment/deploy some changes to fix this for you?
no problem, do it!
Ok, going to deploy
Looks good now
Btw, I would recommend that you address the errors in the problem drawer (especially the ones having to do with the API keys).
I really appreciate your help! I did it..
I'm going to mark this thread as closed since it's been resolved
Do you like this answer?