Error when scheduling a walk-up appointment due to invalid JSON payload Issue ProblemA user is encountering a JavaScript error while attempting to schedule a walk-up appointment. The error occurs when selecting a date/time in the calendar, resulting in a 'java.lang.ClassCastException: class org.mozilla.javascript.Undefined cannot be cast to class java.lang.String' exception. The payload is reported as invalid JSON. The issue is observed on the service desk appointment scheduling page. Release Any Release Cause Root Cause1. The error occurs due to an empty rule configuration when the 'Use Advanced Config' checkbox is enabled in the appointment booking setup, leading to an invalid JSON payload and a JavaScript exception. 2. The default behavior (with the checkbox unchecked) avoids this issue by using standard configurations. Resolution Steps to Resolve1. Verify the 'Use Advanced Config' checkbox in the appointment booking configuration for the walk-up service. 2. If the checkbox is enabled, ensure that both 'Service Config Mapping' and 'Rule Config' fields contain valid configurations. 3. If no configurations are required, uncheck the 'Use Advanced Config' checkbox to revert to the default behavior. 4. Test the appointment scheduling process again to confirm resolution. 5. If using advanced config is necessary, add valid service config mappings and rules to resolve the empty rule reference causing the error.