Failed to execute 'evaluate' on 'XPathEvaluator'

Hi we are using custom Enketo library to load forms and save drafts in a cloud plugin and everything is working fine we are able to load forms save drafts for offline capabilities and make submissions as well.

But for forms in a specific category, we are able to open the form then save the draft but when try to re-access that draft for that form we are getting below error

loadError: FormLogicError : Could not evaluate : /data/walk_Pdselected_count, message: Failed to execute 'evaluate' on 'XPathEvaluator': parameter 2 is not of type 'Node'.

this error is only coming for this specific category of form and rest all are working fine. Does anyone has faced any similar issue before?

Hi @Utkarsh_Baweja ! :wave:

I was just curious - are those forms using repeat groups in particular?