Hello Try this actor:
https://console.apify.com/actors/x5HHNtX41N6hb2ZyxSecret_1 is OPTIONAL
Secret_2 is REQUIRED
Try set both with some values, then try set it to empty. 2 input produce error differently.
1) In case the OPTIONAL one:
the value is cleared but with error warning
2) For the REQUIRED one the error is in dev console (Chrome)