Why back-end methods fail on received webhook but succeed when run manually/supervised

@jonatandor35 Ok, this is likely a mild case of premature optimization on my end:
when, for some reason, a product with multiple variants gets split on the other platform and it becomes a single variant, we will need to reset the variants of this product in WiX… right? :slight_smile:

Essentially, I’m trying to do so if:
both the updated product and the corresponding WiX store product have more than one variant (this was the only condition initially)
— the updated product became a single variant, while WiX product has more than one variant (the result of me overthinking this)

I have plenty of debug logging in my code and the most agonizing part is when I try to reproduce, either by manually executing the function with the debug data or by posting the same hook via curl — everything works.

Sorry for bumping this one up again, but it’s still an issue, still as frustrating…