Confd is throwing the confd_maapi error

Hi
I am getting the following error in the confd.

=ERROR REPORT==== 27-Feb-2023::12:46:40.608765 ===
confd_maapi: diff_iter err: {error,{otts_closed,"otts_nif.c",1057}}: [{otts,
                                                                       pop_iter_node,
                                                                       [{otts,
                                                                         #Ref<0.1543815827.4196532225.8219>,
                                                                         0,
                                                                         #Ref<0.1543815827.4196401153.8220>}],
                                                                       []},
                                                                      {xds_ram,
                                                                       tts_fold_children,
                                                                       7,
                                                                       [{file,
                                                                         "xds_ram.erl"},
                                                                        {line,
                                                                         1446}]},
                                                                      {xds_ram,
                                                                       fold_children,
                                                                       4,
                                                                       [{file,
                                                                         "xds_ram.erl"},
                                                                        {line,
                                                                         488}]},
                                                                      {cs_trans_diff_iterate,
                                                                       sh_diff_iterate_x,
                                                                       10,
                                                                       [{file,
                                                                         "cs_trans_diff_iterate.erl"},
                                                                        {line,
                                                                         502}]},
                                                                      {cs_trans_diff_iterate,
                                                                       sh_diff_iterate,
                                                                       7,
                                                                       [{file,
                                                                         "cs_trans_diff_iterate.erl"},
                                                                        {line,
                                                                         152}]},
                                                                      {confd_maapi,
                                                                       '-diff_iter1/7-fun-3-',
                                                                       8,
                                                                       [{file,
                                                                         "confd_maapi.erl"},
                                                                        {line,
                                                                         535}]},
                                                                      {confd_maapi,
                                                                       diff_iter1,
                                                                       7,
                                                                       [{file,
                                                                         "confd_maapi.erl"},
                                                                        {line,
                                                                         533}]},
                                                                      {confd_maapi,
                                                                       diff_iter,
                                                                       5,
                                                                       [{file,
                                                                         "confd_maapi.erl"},
                                                                        {line,
                                                                         456}]},
                                                                      {confd_maapi,
                                                                       handle_lib,
                                                                       1,
                                                                       [{file,
                                                                         "confd_maapi.erl"},
                                                                        {line,
                                                                         789}]},
                                                                      {proc_lib,
                                                                       init_p,
                                                                       3,
                                                                       [{file,
                                                                         "proc_lib.erl"},
                                                                        {line,
                                                                         234}]}]

Also observed the confd-notifications restart by throwing this error

confd_notifications: confd_notifications.c:112: handle_diff_notif: Assertion `(maapi_diff_iterate(maapi_socket, tctx->thandle, iter, ITER_WANT_ATTR, ((void *)0))) == CONFD_OK' failed.

Can anyone please help to understand what this error means?