Cannot edit insurance form

Situation
the insurance window is loading, showing the contents (either it has data or not) but when i try to edit is not loading.

OpenEMR Version
i am using Openemr 7.03 (3)

Browser:
Firefox
Operating System
I’m using: Ubuntu 24.04 with mysql.

Search
Yes

Logs
"13/05/2025 14:55:36 other-insert other eumetaxas Default 0 1 INSERT INTO clinical_rules_log (date,pid,uid,category,value,new_value, facility_id) VALUES (NOW(),?,?,?,?,?, (SELECT
facility_ids.facility_id
FROM
(
SELECT
facility_id,
last_updated
FROM
users
WHERE
id = ?
UNION
SELECT
facility_id,
last_update AS last_updated
FROM
form_encounter
WHERE
pid = ? AND(
provider_id = ? OR supervisor_id = ?
)
) facility_ids
ORDER BY
facility_ids.last_updated
LIMIT 1)) (‘10082’,‘2’,‘clinical_reminder_widget’,‘{"act_cat_measure:act_wt":{"rule_id":"rule_adult_wt_screen_fu","due_status":"past_due"},"act_cat_assess:act_colon_cancer_screen":{"rule_id":"rule_cs_colon","due_status":"past_due"},"act_cat_assess:act_prostate_cancer_screen":{"rule_id":"rule_cs_prostate","due_status":"past_due"},"act_cat_treat:act_influvacc":{"rule_id":"rule_influenza_ge_50","due_status":"past_due"},"act_cat_assess:act_tobacco":{"rule_id":"rule_tob_use_assess","due_status":"past_due"}}’,‘’,‘2’,‘10082’,‘2’,‘2’,)
13/05/2025 14:53:27 other-insert other eumetaxas Default 0 1 INSERT INTO clinical_rules_log (date,pid,uid,category,value,new_value, facility_id) VALUES (NOW(),?,?,?,?,?, (SELECT
facility_ids.facility_id
FROM
(
SELECT
facility_id,
last_updated
FROM
users
WHERE
id = ?
UNION
SELECT
facility_id,
last_update AS last_updated
FROM
form_encounter
WHERE
pid = ? AND(
provider_id = ? OR supervisor_id = ?
)
) facility_ids
ORDER BY
facility_ids.last_updated
LIMIT 1)) (‘10082’,‘2’,‘clinical_reminder_widget’,‘{"act_cat_measure:act_wt":{"rule_id":"rule_adult_wt_screen_fu","due_status":"past_due"},"act_cat_assess:act_colon_cancer_screen":{"rule_id":"rule_cs_colon","due_status":"past_due"},"act_cat_assess:act_prostate_cancer_screen":{"rule_id":"rule_cs_prostate","due_status":"past_due"},"act_cat_treat:act_influvacc":{"rule_id":"rule_influenza_ge_50","due_status":"past_due"},"act_cat_assess:act_tobacco":{"rule_id":"rule_tob_use_assess","due_status":"past_due"}}’,‘{"act_cat_assess:act_colon_cancer_screen":{"rule_id":"rule_cs_colon","due_status":"past_due"},"act_cat_assess:act_prostate_cancer_screen":{"rule_id":"rule_cs_prostate","due_status":"past_due"},"act_cat_treat:act_influvacc":{"rule_id":"rule_influenza_ge_50","due_status":"past_due"}}’,‘2’,‘10082’,‘2’,‘2’,)
13/05/2025 14:53:24 other-insert other eumetaxas Default 0 1 INSERT INTO recent_patients (user_id, patients) VALUES (?, ?) ON DUPLICATE KEY UPDATE patients=? (‘2’,‘a:20:{i:0;a:1:{s:3:"pid";i:10082;}i:1;a:1:{s:3:"pid";i:2826;}i:2;a:1:{s:3:"pid";i:6757;}i:3;a:1:{s:3:"pid";i:9966;}i:4;a:1:{s:3:"pid";i:14244;}i:5;a:1:{s:3:"pid";i:14243;}i:6;a:1:{s:3:"pid";i:14238;}i:7;a:1:{s:3:"pid";i:14096;}i:8;a:1:{s:3:"pid";i:10494;}i:9;a:1:{s:3:"pid";i:12554;}i:10;a:1:{s:3:"pid";i:6076;}i:11;a:1:{s:3:"pid";i:14242;}i:12;a:1:{s:3:"pid";i:2202;}i:13;a:1:{s:3:"pid";i:12851;}i:14;a:1:{s:3:"pid";i:6999;}i:15;a:1:{s:3:"pid";i:1219;}i:16;a:1:{s:3:"pid";i:6044;}i:17;a:1:{s:3:"pid";i:7175;}i:18;a:1:{s:3:"pid";i:14204;}i:19;a:1:{s:3:"pid";i:14240;}}’,‘a:20:{i:0;a:1:{s:3:"pid";i:10082;}i:1;a:1:{s:3:"pid";i:2826;}i:2;a:1:{s:3:"pid";i:6757;}i:3;a:1:{s:3:"pid";i:9966;}i:4;a:1:{s:3:"pid";i:14244;}i:5;a:1:{s:3:"pid";i:14243;}i:6;a:1:{s:3:"pid";i:14238;}i:7;a:1:{s:3:"pid";i:14096;}i:8;a:1:{s:3:"pid";i:10494;}i:9;a:1:{s:3:"pid";i:12554;}i:10;a:1:{s:3:"pid";i:6076;}i:11;a:1:{s:3:"pid";i:14242;}i:12;a:1:{s:3:"pid";i:2202;}i:13;a:1:{s:3:"pid";i:12851;}i:14;a:1:{s:3:"pid";i:6999;}i:15;a:1:{s:3:"pid";i:1219;}i:16;a:1:{s:3:"pid";i:6044;}i:17;a:1:{s:3:"pid";i:7175;}i:18;a:1:{s:3:"pid";i:14204;}i:19;a:1:{s:3:"pid";i:14240;}}’,)
13/05/2025 14:53:24 view view eumetaxas Default 10082 1
13/05/2025 14:50:59 login login eumetaxas Default 1 success: 192.168.10.51
13/05/2025 14:50:59 other-update other 0 1 UPDATE ip_tracking SET ip_login_fail_counter = 0, ip_last_login_fail = null, ip_auto_block_emailed = 0 WHERE ip_string = ? (‘192.168.10.51’,)
13/05/2025 14:50:53 logout logout eumetaxas Default 1 success
13/05/2025 14:50:48 other-update other eumetaxas Default 0 1 UPDATE background_services SET active=?, next_run = next_run + INTERVAL (? - execute_interval) MINUTE, execute_interval=? WHERE name=? (‘0’,‘1440’,‘1440’,‘WenoExchangePharmacies’,)
13/05/2025 14:50:48 other-update other eumetaxas Default 0 1 UPDATE background_services SET active=?, next_run = next_run + INTERVAL (? - execute_interval) MINUTE, execute_interval=? WHERE name=? (‘0’,‘60’,‘60’,‘WenoExchange’,)
13/05/2025 14:50:48 other-update other eumetaxas Default 0 1 UPDATE background_services SET active=?, next_run = next_run + INTERVAL (? - execute_interval) MINUTE, execute_interval=? WHERE name=? (‘0’,‘1’,‘1’,‘X12_SFTP’,)
13/05/2025 14:50:48 other-update other eumetaxas Default 0 1 UPDATE background_services SET active=?, next_run = next_run + INTERVAL (? - execute_interval) MINUTE, execute_interval=? WHERE name=? (‘0’,‘5’,‘5’,‘phimail’,)
13/05/2025 14:50:48 other-insert other eumetaxas Default 0 1 INSERT INTO globals ( gl_name, gl_index, gl_value ) VALUES ( ?,?,?) (‘language_menu_other’,‘0’,‘English (Standard)’,)
13/05/2025 14:50:48 other-delete other eumetaxas Default 0 1 DELETE FROM globals WHERE gl_name = ? (‘language_menu_other’,)
13/05/2025 14:50:48 other-insert other eumetaxas Default 0 1 INSERT INTO globals ( gl_name, gl_index, gl_value ) VALUES ( ?, ?, ? ) (‘language_default’,‘0’,‘English (Standard)’,)
13/05/2025 14:50:48 other-delete other eumetaxas Default 0 1 DELETE FROM globals WHERE gl_name = ? (‘language_default’,)
13/05/2025 14:50:48 other-insert other eumetaxas Default 0 1 INSERT INTO globals ( gl_name, gl_index, gl_value ) VALUES ( ?,?,?) (‘hide_dashboard_cards’,‘2’,‘card_lab’,)
13/05/2025 14:50:48 other-insert other eumetaxas Default 0 1 INSERT INTO globals ( gl_name, gl_index, gl_value ) VALUES ( ?,?,?) (‘hide_dashboard_cards’,‘1’,‘card_disclosure’,)
13/05/2025 14:50:48 other-insert other eumetaxas Default 0 1 INSERT INTO globals ( gl_name, gl_index, gl_value ) VALUES ( ?,?,?) (‘hide_dashboard_cards’,‘0’,‘card_amendments’,)
13/05/2025 14:50:48 other-delete other eumetaxas Default 0 1 DELETE FROM globals WHERE gl_name = ? (‘hide_dashboard_cards’,)
13/05/2025 14:50:06 other-insert other eumetaxas Default 0 1 INSERT INTO clinical_rules_log (date,pid,uid,category,value,new_value, facility_id) VALUES (NOW(),?,?,?,?,?, (SELECT
facility_ids.facility_id
FROM
(
SELECT
facility_id,
last_updated
FROM
users
WHERE
id = ?
UNION
SELECT
facility_id,
last_update AS last_updated
FROM
form_encounter
WHERE
pid = ? AND(
provider_id = ? OR supervisor_id = ?
)
) facility_ids
ORDER BY
facility_ids.last_updated
LIMIT 1)) (‘2826’,‘2’,‘clinical_reminder_widget’,‘{"act_cat_assess:act_colon_cancer_screen":{"rule_id":"rule_cs_colon","due_status":"past_due"},"act_cat_measure:act_mammo":{"rule_id":"rule_cs_mammo","due_status":"past_due"},"act_cat_exam:act_pap":{"rule_id":"rule_cs_pap","due_status":"past_due"},"act_cat_treat:act_influvacc":{"rule_id":"rule_influenza_ge_50","due_status":"past_due"},"act_cat_assess:act_tobacco":{"rule_id":"rule_tob_use_assess","due_status":"past_due"}}’,‘’,‘2’,‘2826’,‘2’,‘2’,)
13/05/2025 14:50:04 patient-record-update patient-record eumetaxas Default 2826 1 update lists_medication set drug_dosage_instructions = ’ ’ where list_id = ‘12264’
13/05/2025 14:50:01 other-insert other eumetaxas Default 0 1 INSERT INTO recent_patients (user_id, patients) VALUES (?, ?) ON DUPLICATE KEY UPDATE patients=? (‘2’,‘a:20:{i:0;a:1:{s:3:"pid";i:2826;}i:1;a:1:{s:3:"pid";i:6757;}i:2;a:1:{s:3:"pid";i:9966;}i:3;a:1:{s:3:"pid";i:14244;}i:4;a:1:{s:3:"pid";i:14243;}i:5;a:1:{s:3:"pid";i:14238;}i:6;a:1:{s:3:"pid";i:14096;}i:7;a:1:{s:3:"pid";i:10494;}i:8;a:1:{s:3:"pid";i:12554;}i:9;a:1:{s:3:"pid";i:6076;}i:10;a:1:{s:3:"pid";i:14242;}i:11;a:1:{s:3:"pid";i:2202;}i:12;a:1:{s:3:"pid";i:12851;}i:13;a:1:{s:3:"pid";i:6999;}i:14;a:1:{s:3:"pid";i:1219;}i:15;a:1:{s:3:"pid";i:6044;}i:16;a:1:{s:3:"pid";i:7175;}i:17;a:1:{s:3:"pid";i:14204;}i:18;a:1:{s:3:"pid";i:14240;}i:19;a:1:{s:3:"pid";i:14213;}}’,‘a:20:{i:0;a:1:{s:3:"pid";i:2826;}i:1;a:1:{s:3:"pid";i:6757;}i:2;a:1:{s:3:"pid";i:9966;}i:3;a:1:{s:3:"pid";i:14244;}i:4;a:1:{s:3:"pid";i:14243;}i:5;a:1:{s:3:"pid";i:14238;}i:6;a:1:{s:3:"pid";i:14096;}i:7;a:1:{s:3:"pid";i:10494;}i:8;a:1:{s:3:"pid";i:12554;}i:9;a:1:{s:3:"pid";i:6076;}i:10;a:1:{s:3:"pid";i:14242;}i:11;a:1:{s:3:"pid";i:2202;}i:12;a:1:{s:3:"pid";i:12851;}i:13;a:1:{s:3:"pid";i:6999;}i:14;a:1:{s:3:"pid";i:1219;}i:15;a:1:{s:3:"pid";i:6044;}i:16;a:1:{s:3:"pid";i:7175;}i:17;a:1:{s:3:"pid";i:14204;}i:18;a:1:{s:3:"pid";i:14240;}i:19;a:1:{s:3:"pid";i:14213;}}’,)
13/05/2025 14:50:01 view view eumetaxas Default 2826 1
13/05/2025 14:47:36 patient-record-update patient-record eumetaxas Default 2826 1 update lists_medication set drug_dosage_instructions = ’ ’ where list_id = ‘12264’
13/05/2025 14:47:33 other-insert other eumetaxas Default 0 1 INSERT INTO amc_misc_data (amc_id,pid,map_category,map_id,date_created,date_completed) VALUES(?,?,?,?,NOW(),NOW()) (‘e_prescribe_cont_subst_amc’,‘2826’,‘prescriptions’,‘133630’,)
13/05/2025 14:47:33 other-insert other eumetaxas Default 0 1 INSERT INTO amc_misc_data (amc_id,pid,map_category,map_id,date_created,date_completed) VALUES(?,?,?,?,NOW(),NOW()) (‘e_prescribe_chk_formulary_amc’,‘2826’,‘prescriptions’,‘133630’,)
13/05/2025 14:47:33 other-insert other eumetaxas Default 0 1 INSERT INTO amc_misc_data (amc_id,pid,map_category,map_id,date_created,date_completed) VALUES(?,?,?,?,NOW(),NOW()) (‘e_prescribe_amc’,‘2826’,‘prescriptions’,‘133630’,)
13/05/2025 14:47:33 order-replace Medication eumetaxas Default 0 1 REPLACE INTO prescriptions SET id = ‘133630’, patient_id = ‘2826’, date_added = ‘2025-05-13 14:47:33’, date_modified = ‘2025-05-13 14:47:33’, provider_id = ‘2’, start_date = ‘2025-05-13’, drug = ‘Pulmoton 200mcg’, dosage = ‘1 εισπνοή 2 φορές τη μέρα και μετά γαργάρα με νερό’, quantity = ‘1’, per_refill = ‘1’, active = ‘1’, rxnorm_drugcode = ‘Pulmoton 200mcg’, created_by = ‘2’, updated_by = ‘2’
13/05/2025 14:47:15 patient-record-update patient-record eumetaxas Default 2826 1 update lists_medication set drug_dosage_instructions = ’ ’ where list_id = ‘12264’
13/05/2025 14:47:13 other-delete other eumetaxas Default 0 1 DELETE FROM amc_misc_data WHERE amc_id=? AND pid=? AND map_category=? AND map_id=? (‘e_prescribe_cont_subst_amc’,‘2826’,‘prescriptions’,‘133470’,)
13/05/2025 14:47:13 other-delete other eumetaxas Default 0 1 DELETE FROM amc_misc_data WHERE amc_id=? AND pid=? AND map_category=? AND map_id=? (‘e_prescribe_chk_formulary_amc’,‘2826’,‘prescriptions’,‘133470’,)
13/05/2025 14:47:13 other-delete other eumetaxas Default 0 1 DELETE FROM amc_misc_data WHERE amc_id=? AND pid=? AND map_category=? AND map_id=? (‘e_prescribe_amc’,‘2826’,‘prescriptions’,‘133470’,)
13/05/2025 14:47:12 order-replace Medication eumetaxas Default 0 1 REPLACE INTO prescriptions SET id = ‘133470’, patient_id = ‘2826’, date_added = ‘2025-05-07 12:56:43’, date_modified = ‘2025-05-13 14:47:12’, provider_id = ‘2’, start_date = ‘2025-05-07’, drug = ‘Inh Pulmoton 200mg’, dosage = ‘2 εισπνοές 2 φορές τη μέρα και μετά γαργάρα με νερό’, quantity = ‘1’, per_refill = ‘1’, active = ‘-1’, txDate = ‘0000-00-00’, created_by = ‘2’, updated_by = ‘2’
13/05/2025 14:45:05 patient-record-update patient-record eumetaxas Default 2826 1 update lists_medication set drug_dosage_instructions = ’ ’ where list_id = ‘12264’
13/05/2025 14:45:03 other-delete other eumetaxas Default 0 1 DELETE FROM amc_misc_data WHERE amc_id=? AND pid=? AND map_category=? AND map_id=? (‘e_prescribe_cont_subst_amc’,‘2826’,‘prescriptions’,‘133472’,)
13/05/2025 14:45:03 other-delete other eumetaxas Default 0 1 DELETE FROM amc_misc_data WHERE amc_id=? AND pid=? AND map_category=? AND map_id=? (‘e_prescribe_chk_formulary_amc’,‘2826’,‘prescriptions’,‘133472’,)
13/05/2025 14:45:03 other-delete other eumetaxas Default 0 1 DELETE FROM amc_misc_data WHERE amc_id=? AND pid=? AND map_category=? AND map_id=? (‘e_prescribe_amc’,‘2826’,‘prescriptions’,‘133472’,)
13/05/2025 14:45:03 order-replace Medication eumetaxas Default 0 1 REPLACE INTO prescriptions SET id = ‘133472’, patient_id = ‘2826’, date_added = ‘2025-05-07 12:58:01’, date_modified = ‘2025-05-13 14:45:03’, provider_id = ‘2’, start_date = ‘2025-05-07’, drug = ‘tbs Medrol 16mg’, dosage = ‘1.5 χάπι μαζί μία φορά τη μέρα για 3 μέρες και μετά 1 για άλλες 3 και μετά μισό για άλλες 5’, quantity = ‘1’, per_refill = ‘1’, active = ‘-1’, rxnorm_drugcode = ‘tbs Medrol 16mg’, txDate = ‘0000-00-00’, created_by = ‘2’, updated_by = ‘2’
13/05/2025 14:41:16 patient-record-update patient-record eumetaxas Default 2826 1 update lists_medication set drug_dosage_instructions = ’ ’ where list_id = ‘12264’
13/05/2025 14:41:14 other-delete other eumetaxas Default 0 1 DELETE FROM amc_misc_data WHERE amc_id=? AND pid=? AND map_category=? AND map_id=? (‘e_prescribe_cont_subst_amc’,‘2826’,‘prescriptions’,‘133469’,)
13/05/2025 14:41:14 other-delete other eumetaxas Default 0 1 DELETE FROM amc_misc_data WHERE amc_id=? AND pid=? AND map_category=? AND map_id=? (‘e_prescribe_chk_formulary_amc’,‘2826’,‘prescriptions’,‘133469’,)
13/05/2025 14:41:14 other-delete other eumetaxas Default 0 1 DELETE FROM amc_misc_data WHERE amc_id=? AND pid=? AND map_category=? AND map_id=? (‘e_prescribe_amc’,‘2826’,‘prescriptions’,‘133469’,)
13/05/2025 14:41:14 order-replace Medication eumetaxas Default 0 1 REPLACE INTO prescriptions SET id = ‘133469’, patient_id = ‘2826’, date_added = ‘2025-05-07 12:55:46’, date_modified = ‘2025-05-13 14:41:14’, provider_id = ‘2’, start_date = ‘2025-05-07’, drug = ‘tbs Rithroclad 500mg’, dosage = ‘1 κάθε 12 ώρες’, quantity = ‘1’, per_refill = ‘1’, active = ‘-1’, txDate = ‘0000-00-00’, created_by = ‘2’, updated_by = ‘2’
13/05/2025 14:41:09 patient-record-update patient-record eumetaxas Default 2826 1 update lists_medication set drug_dosage_instructions = ’ ’ where list_id = ‘12264’
13/05/2025 14:41:07 other-delete other eumetaxas Default 0 1 DELETE FROM amc_misc_data WHERE amc_id=? AND pid=? AND map_category=? AND map_id=? (‘e_prescribe_cont_subst_amc’,‘2826’,‘prescriptions’,‘133467’,)
13/05/2025 14:41:07 other-delete other eumetaxas Default 0 1 DELETE FROM amc_misc_data WHERE amc_id=? AND pid=? AND map_category=? AND map_id=? (‘e_prescribe_chk_formulary_amc’,‘2826’,‘prescriptions’,‘133467’,)
13/05/2025 14:41:06 other-delete other eumetaxas Default 0 1 DELETE FROM amc_misc_data WHERE amc_id=? AND pid=? AND map_category=? AND map_id=? (‘e_prescribe_amc’,‘2826’,‘prescriptions’,‘133467’,)
13/05/2025 14:41:06 order-replace Medication eumetaxas Default 0 1 REPLACE INTO prescriptions SET id = ‘133467’, patient_id = ‘2826’, date_added = ‘2025-05-07 12:44:57’, date_modified = ‘2025-05-13 14:41:06’, provider_id = ‘2’, start_date = ‘2025-05-07’, drug = ‘Tamiflu + Decadron’, dosage = ‘1’, quantity = ‘1’, per_refill = ‘1’, active = ‘-1’, rxnorm_drugcode = ‘Tamiflu + Decadron’, txDate = ‘0000-00-00’, created_by = ‘2’, updated_by = ‘2’
13/05/2025 14:41:00 patient-record-update patient-record eumetaxas Default 2826 1 update lists_medication set drug_dosage_instructions = ’ ’ where list_id = ‘12264’
13/05/2025 14:40:45 other-insert other eumetaxas Default 0 1 INSERT INTO clinical_rules_log (date,pid,uid,category,value,new_value, facility_id) VALUES (NOW(),?,?,?,?,?, (SELECT
facility_ids.facility_id
FROM
(
SELECT
facility_id,
last_updated
FROM
users
WHERE
id = ?
UNION
SELECT
facility_id,
last_update AS last_updated
FROM
form_encounter
WHERE
pid = ? AND(
provider_id = ? OR supervisor_id = ?
)
) facility_ids
ORDER BY
facility_ids.last_updated
LIMIT 1)) (‘2826’,‘2’,‘clinical_reminder_widget’,‘{"act_cat_assess:act_colon_cancer_screen":{"rule_id":"rule_cs_colon","due_status":"past_due"},"act_cat_measure:act_mammo":{"rule_id":"rule_cs_mammo","due_status":"past_due"},"act_cat_exam:act_pap":{"rule_id":"rule_cs_pap","due_status":"past_due"},"act_cat_treat:act_influvacc":{"rule_id":"rule_influenza_ge_50","due_status":"past_due"},"act_cat_assess:act_tobacco":{"rule_id":"rule_tob_use_assess","due_status":"past_due"}}’,‘’,‘2’,‘2826’,‘2’,‘2’,)



"

hi @eumetaxas, did you try clearing the browser’s cache ? It will hopefully load the new scripts that are working in the demos, OpenEMR Login

thank you for the reply,
yes, i do clear cache every day. Tried chromium and firefox, both in private modes.
Evgenios

Try using F12 to activate the console in the browser and you can view any javascript errors please then.

Now we have something:)
Thank you

This is another screenshot from firefox debugger in case it is helpful

thank you

I have exactly the same problem. Did you find any solution?
OpenEMR Version
Openemr 7.0.3 (4)
Debian 11.11

I would really appreciate it if you reply.
Greetings from Greece
thank yoy in advance.
Balitas Astrerios

Hi, the issue appears to have been found.

Thank you. Did try the solution but it did not fix my problem.

Check your apache site config, and make sure you have a rewrite rule in place for the APIs directory, it should look something like the following:

<Directory /var/www/html/openemr/apis

AllowOverride all

Require all granted

</Directory>

When you click on the Insurance Edit button, it’s actually making an API call, and if the server blocks that call, then the Insurance dialog will never load.

1 Like

Hi,
when i add these lines the server fails to start

File:
apache2.conf

located in /etc/apache2/
thank you

Those lines need to go in your site config, not the apache2.conf file. Those are site specific directives.

Note that “/var/www/html/openemr/apis”, is just an example, you’ll need to adjust that to match whatever the web root of your openemr site actually is.

1 Like

Thank you again for coming back.
if i add these lines
”<Directory /var/www/html/openemr/apis
AllowOverride all
Require all granted

in this file
/var/www/html/openemr/sites/default/config.php
i cannot login
thank you

Grok got me a little bit further but still not working.
It fails somewhere here
”Then proceed with the previous steps: ensure certs dir, trigger regen via admin → Globals → Connectors (save) or add/register API client.

Check files:

text

ls -l /var/www/html/openemr/sites/default/documents/certificates/

Edit Apache config:

sudo nano /etc/apache2/sites-available/000-default.conf

Add inside <VirtualHost *:80> before </VirtualHost>:

<Directory /var/www/html/openemr/apis>
    AllowOverride all
    Require all granted
</Directory>

Save (Ctrl+O, Enter, Ctrl+X).

Enable rewrite:

sudo a2enmod rewrite
sudo systemctl restart apache2

Create certificates dir:

sudo mkdir -p /var/www/html/openemr/sites/default/documents/certificates
sudo chown -R www-data:www-data /var/www/html/openemr/sites/default/documents/certificates

Remove rogue API dirs if exist (check first):

ls /var/www/html/openemr/apis/default/api/patient/

If shows files/dirs, then:

sudo rm -rf /var/www/html/openemr/apis/default/api/patient/*

Test insurance edit. If 404/500 persists, reply with browser console errors (F12 > Console).

Do you access your OpenEMR instance via HTTP or HTTPS?

The instructions you reference only show editing the site config for the default web host on port 80. Using OpenEMR via HTTP rather than HTTPS is usually not a good idea.

If you are accessing via HTTPS, then your site config for port 443 needs to be updated as well with the directives involving the “apis” directory.