Hi, I am getting this error "Cannot overwrite generated asset <asset_key>" when trying to update a JS file in a theme through the API. Do you have any idea why that may be happening and how to fix it? I couldn't find any documentation about this error and even a Google search returns less than 1 full page of results :(
But if the said file (in my case theme.scss) is generated by Shopify and cannot be updated manually, then why do we have access to it? And how can it be deleted if it's generated from within Shopify only?
I was trying to set up a local dev environment and mistakenly deleted this theme.scss file in my local directory which automatically removed it from my Assets folder in Shopify. I'm trying to get it back into my Assets folder because it contains all my styling variables, but this error is keeping me from doing so.
Any insight into this?