After migrating our apex, the plugin was broken
upon inspection, I found the l_ajax_id contains invalid characters


We need to change
l_ajax_id varchar(2000) := replace(apex_plugin.get_ajax_identifier, '-', '_');
l_data_name varchar2(2000) := 'pivot_data_' || l_ajax_id;
to
l_ajax_id varchar(2000) := replace(replace(apex_plugin.get_ajax_identifier, '-', '_'),'~~/','_');
l_data_name varchar2(2000) := 'pivot_data_' || l_ajax_id;
After making the above change it started working properly
Regards
Darshan