# Bug when updating to 5.1 - Local DNS Records - DataTables warning: table id=customDNSTable - Invalid JSON response (Solved)

**URL:** <https://discourse.pi-hole.net/t/bug-when-updating-to-5-1-local-dns-records-datatables-warning-table-id-customdnstable-invalid-json-response-solved/35722>\
**Category:** Help\
**Created:** [July 17, 2020, 10:30am UTC](https://discourse.pi-hole.net/t/bug-when-updating-to-5-1-local-dns-records-datatables-warning-table-id-customdnstable-invalid-json-response-solved/35722 "2020-07-17T10:30:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![NotGael](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/n/cab0a1/32.png) [@NotGael](https://discourse.pi-hole.net/u/NotGael)\
**Post date:** [July 17, 2020, 10:30am UTC](https://discourse.pi-hole.net/t/bug-when-updating-to-5-1-local-dns-records-datatables-warning-table-id-customdnstable-invalid-json-response-solved/35722/1 "2020-07-17T10:30:26Z")

</div>

## Expected Behaviour:

Trying to access http://MY\_IP/admin/dns\_records.php  
And trying to Add a new domain/IP combination

## Actual Behaviour:

 ![Capture d’écran 2020-07-17 à 12.23.36](https://discourse.pi-hole.net/uploads/default/original/3X/b/2/b27e198c7a31b08c1489afc5d4ed1f7fbbc5dcad.png)  
 ![Capture d’écran 2020-07-17 à 12.28.39](https://discourse.pi-hole.net/uploads/default/original/3X/3/0/308de2be0d19a04472fd5580c1460a2ad0a35d7f.png)

Bad JSON response when trying to display the current list and failure when trying to add new records.

## Debug Token:

[https://tricorder.pi-hole.net/3va8iewr51](https://tricorder.pi-hole.net/3va8iewr51)

---

<div class="post-metadata">

**Author:** ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)\
**Post date:** [July 17, 2020, 10:40am UTC](https://discourse.pi-hole.net/t/bug-when-updating-to-5-1-local-dns-records-datatables-warning-table-id-customdnstable-invalid-json-response-solved/35722/2 "2020-07-17T10:40:47Z")

</div>

Please clear your browser's cache and retry.

---

<div class="post-metadata">

**Author:** ![NotGael](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/n/cab0a1/32.png) [@NotGael](https://discourse.pi-hole.net/u/NotGael)\
**Post date:** [July 17, 2020, 10:48am UTC](https://discourse.pi-hole.net/t/bug-when-updating-to-5-1-local-dns-records-datatables-warning-table-id-customdnstable-invalid-json-response-solved/35722/3 "2020-07-17T10:48:45Z")

</div>

Ok Problem solved ^^

Thanks a lot

---

<div class="post-metadata">

**Author:** ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)\
**Post date:** [July 17, 2020, 10:51am UTC](https://discourse.pi-hole.net/t/bug-when-updating-to-5-1-local-dns-records-datatables-warning-table-id-customdnstable-invalid-json-response-solved/35722/4 "2020-07-17T10:51:22Z")

</div>

Glad it worked.

Please mark as solved.

---

<div class="post-metadata">

**Author:** ![foz](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/f/7ba0ec/32.png) [@foz](https://discourse.pi-hole.net/u/foz)\
**Post date:** [July 17, 2020, 3:09pm UTC](https://discourse.pi-hole.net/t/bug-when-updating-to-5-1-local-dns-records-datatables-warning-table-id-customdnstable-invalid-json-response-solved/35722/5 "2020-07-17T15:09:37Z")

</div>

i had the same problem and this worked thank you

---

<div class="post-metadata">

**Author:** ![Bucking\_Horn](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bucking_horn/32/18719_2.png) [@Bucking\_Horn](https://discourse.pi-hole.net/u/Bucking_Horn)\
**Post date:** [July 28, 2020, 5:51am UTC](https://discourse.pi-hole.net/t/bug-when-updating-to-5-1-local-dns-records-datatables-warning-table-id-customdnstable-invalid-json-response-solved/35722/6 "2020-07-28T05:51:51Z")

</div>

A post was split to a new topic: [Errors in Brave browser after update to 5.1](https://discourse.pi-hole.net/t/errors-in-brave-browser-after-update-to-5-1/36371)

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [August 18, 2020, 5:55am UTC](https://discourse.pi-hole.net/t/bug-when-updating-to-5-1-local-dns-records-datatables-warning-table-id-customdnstable-invalid-json-response-solved/35722/7 "2020-08-18T05:55:32Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
