Grafana 6.6.2 is not managing the gridPos correctly for 120 Panels generated with python

I generated the json for a dashboard with 120 panels.
Each line should present a {Text panel}, a {singlestat panel} and {2 gauge panels}.
Text panel size: width 6, height 3.
All other panels size height 3 and width 2.

When I paste the json with the arrays generated it seems to crash, as a lot of panels get overlaid.
if I input each panel json individually they work, from the second line on it starts get messing.
But when I past all its like chaos, several panels overlayd and singlestat and gauge panels assuming position and size of the Text panels.
What should be a good practice to follow in order to prevent this from happening.
the grid position and sizes of the panels looks mathematically correct.

Is there something I can do to prevent this issue from happening?

Hi!
Could you provide the simplest JSON reproducing this issue please?

Hi @agnestoulet1 thanks for your response.
Here it is: usually the problem starts after the fifth panel:

{
  "content": "<div><h3 style='color:yellow'>Site: <span style='font-weight: bold;'>Department</span></h3> <p>Node: XXXX </br> Interface: Unit: 1 Slot: 0 Port: 2 Gigabit - Level </p></div>",
  "gridPos": {
    "h": 3,
    "w": 6,
    "x": 0,
    "y": 0
  },
  "id": 0,
  "links": [],
  "maxPerRow": 2,
  "mode": "html",
  "repeat": "",
  "repeatDirection": "",
  "timeFrom": null,
  "timeShift": null,
  "title": "",
  "type": "text",
  "scopedVars": {

  }
}, {
  "datasource": "Customer - SolarWinds - JSON",
  "cacheTimeout": null,
  "colorBackground": true,
  "colorValue": false,
  "colors": [
    "#d44a3a",
    "#F2495C",
    "#299c46"
  ],
  "description": "OSPF protocol status metric \nNode: XXXX\nInterface: Unit: 1 Slot: 0 Port: 2 Gigabit - Level · NeighborIP: x.x.x.x",
  "format": "none",
  "gauge": {
    "maxValue": 100,
    "minValue": 0,
    "show": false,
    "thresholdLabels": false,
    "thresholdMarkers": true
  },
  "gridPos": {
    "h": 3,
    "w": 2,
    "x": 6,
    "y": 0
  },
  "id": 1,
  "interval": null,
  "links": [],
  "mappingType": 1,
  "mappingTypes": [
    {
      "name": "value to text",
      "value": 1
    },
    {
      "name": "range to text",
      "value": 2
    }
  ],
  "maxDataPoints": 100,
  "nullPointMode": "connected",
  "nullText": null,
  "postfix": "",
  "postfixFontSize": "50%",
  "prefix": "",
  "prefixFontSize": "50%",
  "rangeMaps": [
    {
      "from": "null",
      "text": "N/A",
      "to": "null"
    }
  ],
  "repeat": "",
  "repeatDirection": "",
  "sparkline": {
    "fillColor": "rgba(31, 118, 189, 0.18)",
    "full": false,
    "lineColor": "rgb(31, 120, 193)",
    "show": false
  },
  "tableColumn": "value",
  "targets": [
    {
      "hide": false,
      "refId": "A",
      "target": "SELECT ProtocolName as metric, ProtocolStatus as value, NodeID  FROM Orion.Routing.Neighbors Where NodeID = 17 AND NeighborIP = 'x.x.x.x' AND IsDeleted = False" ,
      "type": "table"
    }
  ],
  "thresholds": "5,7",
  "timeFrom": null,
  "timeShift": null,
  "title": "OSPF",
  "type": "singlestat",
  "valueFontSize": "30%",
  "valueMaps": [
    {
      "op": "=",
      "text": "DOWN",
      "value": "1"
    },
    {
      "op": "=",
      "text": "Attempt",
      "value": "2"
    },
    {
      "op": "=",
      "text": "Init",
      "value": "3"
    },
    {
      "op": "=",
      "text": "TwoWay",
      "value": "4"
    },
    {
      "op": "=",
      "text": "Exchange Start",
      "value": "5"
    },
    {
      "op": "=",
      "text": "Exchange",
      "value": "6"
    },
    {
      "op": "=",
      "text": "Loading",
      "value": "7"
    },
    {
      "op": "=",
      "text": "FULL",
      "value": "8"
    }
  ] ,
  "valueName": "current",
  "options": {}
}, {
  "datasource": "Customer - SolarWinds - JSON",
  "gridPos": {
    "h": 3,
    "w": 2,
    "x": 8,
    "y": 0
  },
  "id": 2,
  "links": [],
  "options": {
    "showThresholdMarkers": true,
    "showThresholdLabels": false,
    "fieldOptions": {
      "values": false,
      "calcs": [
        "last"
      ],
      "defaults": {
        "thresholds": {
          "mode": "absolute",
          "steps": [
            {
              "color": "green",
              "index": 0,
              "value": null
            },
            {
              "color": "#EAB839",
              "index": 1,
              "value": 50
            },
            {
              "color": "red",
              "index": 2,
              "value": 80
            }
          ]
        },
        "mappings": [],
        "unit": "percent",
        "decimals": null,
        "min": 0,
        "max": 100,
        "color": {
          "mode": "thresholds"
        },
        "title": "Transmit"
      },
      "overrides": []
    },
    "orientation": "auto"
  },
  "pluginVersion": "6.6.2",
  "repeat": null,
  "repeatDirection": "",
  "targets": [
    {
      "refId": "A",
      "target": "SELECT TOP 1 OutPercentUtil FROM Orion.NPM.InterfaceTraffic WHERE NODEID=17 AND InterfaceID= 121  ORDER BY DateTime DESC",
      "type": "table"
    }
  ],
  "timeFrom": null,
  "timeShift": null,
  "title": "",
  "type": "gauge"
}, {
  "datasource": "Customer - SolarWinds - JSON",
  "gridPos": {
    "h": 3,
    "w": 2,
    "x": 10,
    "y": 0
  },
  "id": 3,
  "links": [],
  "options": {
    "showThresholdMarkers": true,
    "showThresholdLabels": false,
    "fieldOptions": {
      "values": false,
      "calcs": [
        "last"
      ],
      "defaults": {
        "thresholds": {
          "mode": "absolute",
          "steps": [
            {
              "color": "green",
              "index": 0,
              "value": null
            },
            {
              "color": "#EAB839",
              "index": 1,
              "value": 50
            },
            {
              "color": "red",
              "index": 2,
              "value": 80
            }
          ]
        },
        "mappings": [],
        "unit": "percent",
        "decimals": null,
        "min": 0,
        "max": 100,
        "color": {
          "mode": "thresholds"
        },
        "title": "Receive"
      },
      "overrides": []
    },
    "orientation": "auto"
  },
  "pluginVersion": "6.6.2",
  "repeat": null,
  "repeatDirection": "",
  "targets": [
    {
      "refId": "A",
      "target": "SELECT TOP 1 InPercentUtil FROM Orion.NPM.InterfaceTraffic WHERE NODEID=17 AND InterfaceID= 121  ORDER BY DateTime DESC",
      "type": "table"
    }
  ],
  "timeFrom": null,
  "timeShift": null,
  "title": "",
  "type": "gauge"
}, {
  "content": "<div><h3 style='color:yellow'>Site: <span style='font-weight: bold;'>Department</span></h3> <p>Node: XXXX </br> Interface: Unit: 1 Slot: 0 Port: 2 Gigabit - Level  </p></div>",
  "gridPos": {
    "h": 3,
    "w": 6,
    "x": 12,
    "y": 0
  },
  "id": 4,
  "links": [],
  "maxPerRow": 2,
  "mode": "html",
  "repeat": "",
  "repeatDirection": "",
  "timeFrom": null,
  "timeShift": null,
  "title": "",
  "type": "text",
  "scopedVars": {

  }
}, {
  "datasource": "Customer - SolarWinds - JSON",
  "cacheTimeout": null,
  "colorBackground": true,
  "colorValue": false,
  "colors": [
    "#d44a3a",
    "#F2495C",
    "#299c46"
  ],
  "description": "OSPF protocol status metric \nNode: XXXX-XXX\nInterface: Unit: 1 Slot: 0 Port: 2 Gigabit - Level · \nNeighbor IP: x.x.x.x",
  "format": "none",
  "gauge": {
    "maxValue": 100,
    "minValue": 0,
    "show": false,
    "thresholdLabels": false,
    "thresholdMarkers": true
  },
  "gridPos": {
    "h": 3,
    "w": 2,
    "x": 18,
    "y": 0
  },
  "id": 5,
  "interval": null,
  "links": [],
  "mappingType": 1,
  "mappingTypes": [
    {
      "name": "value to text",
      "value": 1
    },
    {
      "name": "range to text",
      "value": 2
    }
  ],
  "maxDataPoints": 100,
  "nullPointMode": "connected",
  "nullText": null,
  "postfix": "",
  "postfixFontSize": "50%",
  "prefix": "",
  "prefixFontSize": "50%",
  "rangeMaps": [
    {
      "from": "null",
      "text": "N/A",
      "to": "null"
    }
  ],
  "repeat": "",
  "repeatDirection": "",
  "sparkline": {
    "fillColor": "rgba(31, 118, 189, 0.18)",
    "full": false,
    "lineColor": "rgb(31, 120, 193)",
    "show": false
  },
  "tableColumn": "value",
  "targets": [
    {
      "hide": false,
      "refId": "A",
      "target": "SELECT ProtocolName as metric, ProtocolStatus as value, NodeID  FROM Orion.Routing.Neighbors Where NodeID = 17 AND NeighborIP = 'x.x.x.x' AND IsDeleted = False" ,
      "type": "table"
    }
  ],
  "thresholds": "5,7",
  "timeFrom": null,
  "timeShift": null,
  "title": "OSPF",
  "type": "singlestat",
  "valueFontSize": "30%",
  "valueMaps": [
    {
      "op": "=",
      "text": "DOWN",
      "value": "1"
    },
    {
      "op": "=",
      "text": "Attempt",
      "value": "2"
    },
    {
      "op": "=",
      "text": "Init",
      "value": "3"
    },
    {
      "op": "=",
      "text": "TwoWay",
      "value": "4"
    },
    {
      "op": "=",
      "text": "Exchange Start",
      "value": "5"
    },
    {
      "op": "=",
      "text": "Exchange",
      "value": "6"
    },
    {
      "op": "=",
      "text": "Loading",
      "value": "7"
    },
    {
      "op": "=",
      "text": "FULL",
      "value": "8"
    }
  ] ,
  "valueName": "current",
  "options": {}
}, {
  "datasource": "Customer - SolarWinds - JSON",
  "gridPos": {
    "h": 3,
    "w": 2,
    "x": 20,
    "y": 0
  },
  "id": 6,
  "links": [],
  "options": {
    "showThresholdMarkers": true,
    "showThresholdLabels": false,
    "fieldOptions": {
      "values": false,
      "calcs": [
        "last"
      ],
      "defaults": {
        "thresholds": {
          "mode": "absolute",
          "steps": [
            {
              "color": "green",
              "index": 0,
              "value": null
            },
            {
              "color": "#EAB839",
              "index": 1,
              "value": 50
            },
            {
              "color": "red",
              "index": 2,
              "value": 80
            }
          ]
        },
        "mappings": [],
        "unit": "percent",
        "decimals": null,
        "min": 0,
        "max": 100,
        "color": {
          "mode": "thresholds"
        },
        "title": "Transmit"
      },
      "overrides": []
    },
    "orientation": "auto"
  },
  "pluginVersion": "6.6.2",
  "repeat": null,
  "repeatDirection": "",
  "targets": [
    {
      "refId": "A",
      "target": "SELECT TOP 1 OutPercentUtil FROM Orion.NPM.InterfaceTraffic WHERE NODEID=17 AND InterfaceID= 121  ORDER BY DateTime DESC",
      "type": "table"
    }
  ],
  "timeFrom": null,
  "timeShift": null,
  "title": "",
  "type": "gauge"
}, {
  "datasource": "Customer - SolarWinds - JSON",
  "gridPos": {
    "h": 3,
    "w": 2,
    "x": 22,
    "y": 0
  },
  "id": 7,
  "links": [],
  "options": {
    "showThresholdMarkers": true,
    "showThresholdLabels": false,
    "fieldOptions": {
      "values": false,
      "calcs": [
        "last"
      ],
      "defaults": {
        "thresholds": {
          "mode": "absolute",
          "steps": [
            {
              "color": "green",
              "index": 0,
              "value": null
            },
            {
              "color": "#EAB839",
              "index": 1,
              "value": 50
            },
            {
              "color": "red",
              "index": 2,
              "value": 80
            }
          ]
        },
        "mappings": [],
        "unit": "percent",
        "decimals": null,
        "min": 0,
        "max": 100,
        "color": {
          "mode": "thresholds"
        },
        "title": "Receive"
      },
      "overrides": []
    },
    "orientation": "auto"
  },
  "pluginVersion": "6.6.2",
  "repeat": null,
  "repeatDirection": "",
  "targets": [
    {
      "refId": "A",
      "target": "SELECT TOP 1 InPercentUtil FROM Orion.NPM.InterfaceTraffic WHERE NODEID=17 AND InterfaceID= 121  ORDER BY DateTime DESC",
      "type": "table"
    }
  ],
  "timeFrom": null,
  "timeShift": null,
  "title": "",
  "type": "gauge"
}, {
  "content": "<div><h3 style='color:yellow'>Site: <span style='font-weight: bold;'>Department</span></h3> <p>Node: xxx </br> Interface: Unit: 1 Slot: 0 Port: 2 Gigabit - Level · xxxx </p></div>",
  "gridPos": {
    "h": 3,
    "w": 6,
    "x": 0,
    "y": 3
  },
  "id": 8,
  "links": [],
  "maxPerRow": 2,
  "mode": "html",
  "repeat": "",
  "repeatDirection": "",
  "timeFrom": null,
  "timeShift": null,
  "title": "",
  "type": "text",
  "scopedVars": {

  }
}, {
  "datasource": "Customer - SolarWinds - JSON",
  "cacheTimeout": null,
  "colorBackground": true,
  "colorValue": false,
  "colors": [
    "#d44a3a",
    "#F2495C",
    "#299c46"
  ],
  "description": "OSPF protocol status metric \nNode: XXXX-XX\nInterface: Unit: 1 Slot: 0 Port: 2 Gigabit - Level · L2L_XXXX\nNeighbor IP: x.x.x.x",
  "format": "none",
  "gauge": {
    "maxValue": 100,
    "minValue": 0,
    "show": false,
    "thresholdLabels": false,
    "thresholdMarkers": true
  },
  "gridPos": {
    "h": 3,
    "w": 2,
    "x": 6,
    "y": 3
  },
  "id": 9,
  "interval": null,
  "links": [],
  "mappingType": 1,
  "mappingTypes": [
    {
      "name": "value to text",
      "value": 1
    },
    {
      "name": "range to text",
      "value": 2
    }
  ],
  "maxDataPoints": 100,
  "nullPointMode": "connected",
  "nullText": null,
  "postfix": "",
  "postfixFontSize": "50%",
  "prefix": "",
  "prefixFontSize": "50%",
  "rangeMaps": [
    {
      "from": "null",
      "text": "N/A",
      "to": "null"
    }
  ],
  "repeat": "",
  "repeatDirection": "",
  "sparkline": {
    "fillColor": "rgba(31, 118, 189, 0.18)",
    "full": false,
    "lineColor": "rgb(31, 120, 193)",
    "show": false
  },
  "tableColumn": "value",
  "targets": [
    {
      "hide": false,
      "refId": "A",
      "target": "SELECT ProtocolName as metric, ProtocolStatus as value, NodeID  FROM Orion.Routing.Neighbors Where NodeID = 17 AND NeighborIP = 'x.x.x.x' AND IsDeleted = False" ,
      "type": "table"
    }
  ],
  "thresholds": "5,7",
  "timeFrom": null,
  "timeShift": null,
  "title": "OSPF",
  "type": "singlestat",
  "valueFontSize": "30%",
  "valueMaps": [
    {
      "op": "=",
      "text": "DOWN",
      "value": "1"
    },
    {
      "op": "=",
      "text": "Attempt",
      "value": "2"
    },
    {
      "op": "=",
      "text": "Init",
      "value": "3"
    },
    {
      "op": "=",
      "text": "TwoWay",
      "value": "4"
    },
    {
      "op": "=",
      "text": "Exchange Start",
      "value": "5"
    },
    {
      "op": "=",
      "text": "Exchange",
      "value": "6"
    },
    {
      "op": "=",
      "text": "Loading",
      "value": "7"
    },
    {
      "op": "=",
      "text": "FULL",
      "value": "8"
    }
  ] ,
  "valueName": "current",
  "options": {}
}, {
  "datasource": "Customer - SolarWinds - JSON",
  "gridPos": {
    "h": 3,
    "w": 2,
    "x": 8,
    "y": 3
  },
  "id": 10,
  "links": [],
  "options": {
    "showThresholdMarkers": true,
    "showThresholdLabels": false,
    "fieldOptions": {
      "values": false,
      "calcs": [
        "last"
      ],
      "defaults": {
        "thresholds": {
          "mode": "absolute",
          "steps": [
            {
              "color": "green",
              "index": 0,
              "value": null
            },
            {
              "color": "#EAB839",
              "index": 1,
              "value": 50
            },
            {
              "color": "red",
              "index": 2,
              "value": 80
            }
          ]
        },
        "mappings": [],
        "unit": "percent",
        "decimals": null,
        "min": 0,
        "max": 100,
        "color": {
          "mode": "thresholds"
        },
        "title": "Transmit"
      },
      "overrides": []
    },
    "orientation": "auto"
  },
  "pluginVersion": "6.6.2",
  "repeat": null,
  "repeatDirection": "",
  "targets": [
    {
      "refId": "A",
      "target": "SELECT TOP 1 OutPercentUtil FROM Orion.NPM.InterfaceTraffic WHERE NODEID=17 AND InterfaceID= 121  ORDER BY DateTime DESC",
      "type": "table"
    }
  ],
  "timeFrom": null,
  "timeShift": null,
  "title": "",
  "type": "gauge"
}, {
  "datasource": "Customer - SolarWinds - JSON",
  "gridPos": {
    "h": 3,
    "w": 2,
    "x": 10,
    "y": 3
  },
  "id": 11,
  "links": [],
  "options": {
    "showThresholdMarkers": true,
    "showThresholdLabels": false,
    "fieldOptions": {
      "values": false,
      "calcs": [
        "last"
      ],
      "defaults": {
        "thresholds": {
          "mode": "absolute",
          "steps": [
            {
              "color": "green",
              "index": 0,
              "value": null
            },
            {
              "color": "#EAB839",
              "index": 1,
              "value": 50
            },
            {
              "color": "red",
              "index": 2,
              "value": 80
            }
          ]
        },
        "mappings": [],
        "unit": "percent",
        "decimals": null,
        "min": 0,
        "max": 100,
        "color": {
          "mode": "thresholds"
        },
        "title": "Receive"
      },
      "overrides": []
    },
    "orientation": "auto"
  },
  "pluginVersion": "6.6.2",
  "repeat": null,
  "repeatDirection": "",
  "targets": [
    {
      "refId": "A",
      "target": "SELECT TOP 1 InPercentUtil FROM Orion.NPM.InterfaceTraffic WHERE NODEID=17 AND InterfaceID= 121  ORDER BY DateTime DESC",
      "type": "table"
    }
  ],
  "timeFrom": null,
  "timeShift": null,
  "title": "",
  "type": "gauge"
}, {
  "content": "<div><h3 style='color:yellow'>Site: <span style='font-weight: bold;'>Department</span></h3> <p>Node: XXX </br> Interface: Unit: 1 Slot: 0 Port: 1 Gigabit - Level · XXX </p></div>",
  "gridPos": {
    "h": 3,
    "w": 6,
    "x": 12,
    "y": 3
  },
  "id": 12,
  "links": [],
  "maxPerRow": 2,
  "mode": "html",
  "repeat": "",
  "repeatDirection": "",
  "timeFrom": null,
  "timeShift": null,
  "title": "",
  "type": "text",
  "scopedVars": {

  }
}, {
  "datasource": "Customer - SolarWinds - JSON",
  "cacheTimeout": null,
  "colorBackground": true,
  "colorValue": false,
  "colors": [
    "#d44a3a",
    "#F2495C",
    "#299c46"
  ],
  "description": "OSPF protocol status metric \nNode: XXX-xxD\nInterface: Unit: 1 Slot: 0 Port: 1 Gigabit - Level ·XXX\nNeighbor IP: x.x.x.x",
  "format": "none",
  "gauge": {
    "maxValue": 100,
    "minValue": 0,
    "show": false,
    "thresholdLabels": false,
    "thresholdMarkers": true
  },
  "gridPos": {
    "h": 3,
    "w": 2,
    "x": 18,
    "y": 3
  },
  "id": 13,
  "interval": null,
  "links": [],
  "mappingType": 1,
  "mappingTypes": [
    {
      "name": "value to text",
      "value": 1
    },
    {
      "name": "range to text",
      "value": 2
    }
  ],
  "maxDataPoints": 100,
  "nullPointMode": "connected",
  "nullText": null,
  "postfix": "",
  "postfixFontSize": "50%",
  "prefix": "",
  "prefixFontSize": "50%",
  "rangeMaps": [
    {
      "from": "null",
      "text": "N/A",
      "to": "null"
    }
  ],
  "repeat": "",
  "repeatDirection": "",
  "sparkline": {
    "fillColor": "rgba(31, 118, 189, 0.18)",
    "full": false,
    "lineColor": "rgb(31, 120, 193)",
    "show": false
  },
  "tableColumn": "value",
  "targets": [
    {
      "hide": false,
      "refId": "A",
      "target": "SELECT ProtocolName as metric, ProtocolStatus as value, NodeID  FROM Orion.Routing.Neighbors Where NodeID = 17 AND NeighborIP = 'x.x.x.x' AND IsDeleted = False" ,
      "type": "table"
    }
  ],
  "thresholds": "5,7",
  "timeFrom": null,
  "timeShift": null,
  "title": "OSPF",
  "type": "singlestat",
  "valueFontSize": "30%",
  "valueMaps": [
    {
      "op": "=",
      "text": "DOWN",
      "value": "1"
    },
    {
      "op": "=",
      "text": "Attempt",
      "value": "2"
    },
    {
      "op": "=",
      "text": "Init",
      "value": "3"
    },
    {
      "op": "=",
      "text": "TwoWay",
      "value": "4"
    },
    {
      "op": "=",
      "text": "Exchange Start",
      "value": "5"
    },
    {
      "op": "=",
      "text": "Exchange",
      "value": "6"
    },
    {
      "op": "=",
      "text": "Loading",
      "value": "7"
    },
    {
      "op": "=",
      "text": "FULL",
      "value": "8"
    }
  ] ,
  "valueName": "current",
  "options": {}
}, {
  "datasource": "Customer - SolarWinds - JSON",
  "gridPos": {
    "h": 3,
    "w": 2,
    "x": 20,
    "y": 3
  },
  "id": 14,
  "links": [],
  "options": {
    "showThresholdMarkers": true,
    "showThresholdLabels": false,
    "fieldOptions": {
      "values": false,
      "calcs": [
        "last"
      ],
      "defaults": {
        "thresholds": {
          "mode": "absolute",
          "steps": [
            {
              "color": "green",
              "index": 0,
              "value": null
            },
            {
              "color": "#EAB839",
              "index": 1,
              "value": 50
            },
            {
              "color": "red",
              "index": 2,
              "value": 80
            }
          ]
        },
        "mappings": [],
        "unit": "percent",
        "decimals": null,
        "min": 0,
        "max": 100,
        "color": {
          "mode": "thresholds"
        },
        "title": "Transmit"
      },
      "overrides": []
    },
    "orientation": "auto"
  },
  "pluginVersion": "6.6.2",
  "repeat": null,
  "repeatDirection": "",
  "targets": [
    {
      "refId": "A",
      "target": "SELECT TOP 1 OutPercentUtil FROM Orion.NPM.InterfaceTraffic WHERE NODEID=17 AND InterfaceID= 120  ORDER BY DateTime DESC",
      "type": "table"
    }
  ],
  "timeFrom": null,
  "timeShift": null,
  "title": "",
  "type": "gauge"
}, {
  "datasource": "Customer - SolarWinds - JSON",
  "gridPos": {
    "h": 3,
    "w": 2,
    "x": 22,
    "y": 3
  },
  "id": 15,
  "links": [],
  "options": {
    "showThresholdMarkers": true,
    "showThresholdLabels": false,
    "fieldOptions": {
      "values": false,
      "calcs": [
        "last"
      ],
      "defaults": {
        "thresholds": {
          "mode": "absolute",
          "steps": [
            {
              "color": "green",
              "index": 0,
              "value": null
            },
            {
              "color": "#EAB839",
              "index": 1,
              "value": 50
            },
            {
              "color": "red",
              "index": 2,
              "value": 80
            }
          ]
        },
        "mappings": [],
        "unit": "percent",
        "decimals": null,
        "min": 0,
        "max": 100,
        "color": {
          "mode": "thresholds"
        },
        "title": "Receive"
      },
      "overrides": []
    },
    "orientation": "auto"
  },
  "pluginVersion": "6.6.2",
  "repeat": null,
  "repeatDirection": "",
  "targets": [
    {
      "refId": "A",
      "target": "SELECT TOP 1 InPercentUtil FROM Orion.NPM.InterfaceTraffic WHERE NODEID=17 AND InterfaceID= 120  ORDER BY DateTime DESC",
      "type": "table"
    }
  ],
  "timeFrom": null,
  "timeShift": null,
  "title": "",
  "type": "gauge"
}

It seems to work on my side (even if it’s not exactly what you described on your first message but it corresponds to the JSON you sent):

How do use these JSON data? Do you go to dashboard settings and paste this in the “panels” array? When do you get the error? On save?

Yes, I usually generate the panels with the Python script that creates a list of json files. So I paste this list inside the Panels array.
While checking here I just figured out yesterday night I altered the script because the panel IDs parameter was not properly incrementing, and some panels ids were repeating every 8 panels (issue in the loop).
I just tested this last json I posted and it is working! :slight_smile:

A summary of the issue:
The script presented an issue that caused panel’s ID parameter to repeat from time to time.At some point after several repetitions it seems panels can assume position and size from other panels using same “id”.

There was no bug or issue with Grafana grid system, error was caused by this humble user.
Also thanks @agnestoulet1 for the support.
Thanks