Hi Gustavo!
Roman from Manychat Support here,
Thanks for bringing this up - you've made a really valid point! Right now, Manychat doesn't fully handle scenarios when certain JSON fields are missing from an API response. Ideally, an API contract would always be strict, but practically, we understand that's not always the case, especially with more dynamic integrations using AI or External Requests.
From a technical standpoint, the current Manychat logic is:
If the API response explicitly returns a field with a null value, the corresponding custom field gets cleared in Manychat.
But if the response doesn't include the field at all, no action is taken, and the custom field remains unchanged.
Given your current setup (as far as we can see), it looks like you're explicitly clearing all fields' values anyway. As a workaround, and potentially simplifying your flow, you might consider adjusting your parseJson.php endpoint so that it returns all non-relevant fields with a null value, rather than omitting them. That way, Manychat will clear these custom fields automatically, and you may not need the additional public API request to erase these fields manually.
As for your original suggestion regarding error categorization and filtering, it's a great idea! It would indeed help with clarity and more precise debugging, especially when working with complex integrations. I've made sure our team is aware of this, and your insights will definitely be taken into consideration as we continue improving the platform 
Hope this helps! 
Thanks for looking into this @Roman Raizink !!
Thank you for your suggestions, I’ll most definitely take them into account from now on!
There are some scenarios that still won’t be covered (for example when the response has list items), but your suggestion should clear a good part of the messages! ;)
And yes, categorizing and filtering would help a lot!
Thanks again!!
Gus