App panel develop problem: Oops! Something went wrong

I need help with creating my first app panel.

I’ve created new App panel as the documentation says with all the details:

and used the one object app panel:

  "type": "object",
  "required": [
  "properties": {
    "id": {
      "$ref": "#/definitions/numerical"
    "name": {
      "$ref": "#/definitions/text"
    "email": {
      "$ref": "#/definitions/email"
    "date": {
      "label": "Created",
      "$ref": "#/definitions/date-time"

After that I’ve created the API Endpoint in PHP that generate a JSON code:

$tempData['id'] = '1';
$tempData['name'] = 'sigi';
$tempData['email'] = '';
$tempData['date'] = date('Y-m-d H:i:s');
$arr['data'] = $tempData;		
$tempSettings['url'] = "";
$arr['settings'] = $tempSettings;
header('Content-type: application/json;');
$data = json_encode($arr);
echo  $data ;

The output is:

{"data":{"id":1,"name":"sigi","email":"","date":"2020-06-07 13:36:11"},"settings":{"url":"https:\/\/"}}

But when I want to see this in action i get this message :frowning:
Oops! Something went wrong…

What was wrong? how can I fix this and make it works?


I can’t really see anything wrong from what you posted. I see you also sent an email so we’ll take a look there too, but I would just suggest some basic troubleshooting right now - flushing cache, Incognito, other browsers, etc.

@sigalitam you can open Developer Tool of your browser and see the broken response ->

1 Like