Answers.Body: <p>Could you check in the browser console what is the JSON response? Sometimes there might be a space left out in one of your PHP or template files or print statements which causes a space added to JSON response or illegal output created</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-16T00:01:12.677Z
Answers.Text: It worked in the past, im not sure after which version the error occurred .
  I tried this also in a clean install with the same behavior.
  The query is executed as an Ajax call.
  if I put query the url direct the browser firefox shows a well formatted json response.
Answers.UserDisplayName: Ingo Steins
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-14T21:45:15.110Z
Answers.LastActivityDate: 2022-03-14T21:45:15.110Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I defined some custom fields with multiple records.
  The records are not shown in the data-table.
  Open tab in new Window produces an error : DataTables warning: table id=records-4 - Invalid JSON response.</p>
  <p>Environment :
  civicrm 5.47.1 on Wordpress</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-04-25T14:19:45.767Z
Comments.Text: We have the same issue. It does not work for quite a while.
  Choosing tab (without table) data is shown.
Comments.UserDisplayName: Maria
Tags: <contacts><custom-fields><datatables>
Title: Custom Fields - Tab with table
ThreadText: # Custom Fields - Tab with table
  
  (Asked by: username_0 on 2022-03-14)
  
  I defined some custom fields with multiple records.
  The records are not shown in the data-table.
  Open tab in new Window produces an error : DataTables warning: table id=records-4 - Invalid JSON response.
  
  Environment :
  civicrm 5.47.1 on Wordpress
  
  **Tags:** contacts, custom-fields, datatables
  
  > **Comments:**
  > **username_1**: We have the same issue. It does not work for quite a while. Choosing tab (without table) data is shown.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2022-03-14. Score: 0
  
  Could you check in the browser console what is the JSON response? Sometimes there might be a space left out in one of your PHP or template files or print statements which causes a space added to JSON response or illegal output created
  
  > **Comments:**
  > **username_0**: It worked in the past, im not sure after which version the error occurred . I tried this also in a clean install with the same behavior. The query is executed as an Ajax call. if I put query the url direct the browser firefox shows a well formatted json response.  
  
  ---
  
  