Skip to main content
Answer

Standard Import - Table Block - Error single column

  • May 27, 2025
  • 3 replies
  • 35 views

Forum|alt.badge.img

Adding a table shape with a single column (1 column, 2 rows) causes an error in the API request, but works with 2 columns, 2 rows.

 

Expected result:


Error returned

Body: {"code":"internalServerError","message":"An unknown error occurred","requestId":"e7e90a6cc8050583"}

 

This json fails

{
"rowCount": 2,
"colCount": 1,
"cells": [
{
"xPosition": 0,
"yPosition": 0,
"mergeCellsRight": 0,
"mergeCellsDown": 0,
"text": "Test 0,0"
},
{
"xPosition": 0,
"yPosition": 1,
"mergeCellsRight": 0,
"mergeCellsDown": 0,
"text": "Test 0,1"
}
],
"verticalBorder": true,
"horizontalBorder": true,
"id": "bg",
"type": "table",
"boundingBox": {
"x": 1126.5999999999995,
"y": 1448.8000000000002,
"w": 513.2999999999997,
"h": 342.1999999999998
}
},

 

 

This json succeeds (just the addition of a column, and the cells.)

{
"rowCount": 2,
"colCount": 2,
"cells": [
{
"xPosition": 0,
"yPosition": 0,
"mergeCellsRight": 0,
"mergeCellsDown": 0,
"text": "Test 0,0"
},
{
"xPosition": 0,
"yPosition": 1,
"mergeCellsRight": 0,
"mergeCellsDown": 0,
"text": "Test 0,1"
},
{
"xPosition": 1,
"yPosition": 0,
"mergeCellsRight": 0,
"mergeCellsDown": 0,
"text": "Test 1,0"
},
{
"xPosition": 1,
"yPosition": 1,
"mergeCellsRight": 0,
"mergeCellsDown": 0,
"text": "Test 1,1"
}
],
"verticalBorder": true,
"horizontalBorder": true,
"id": "bg",
"type": "table",
"boundingBox": {
"x": 1126.5999999999995,
"y": 1448.8000000000002,
"w": 513.2999999999997,
"h": 342.1999999999998
}
},

 

Best answer by Trevor J

Hi Andrew.Casta,

Thank you for your interest in the Lucid standard import and for pointing this out. I’ve confirmed that something is not working as intended. I’ll start looking into this to see if I can get it fixed.

Comments

Forum|alt.badge.img+3
  • Lucid product team
  • Answer
  • May 27, 2025

Hi Andrew.Casta,

Thank you for your interest in the Lucid standard import and for pointing this out. I’ve confirmed that something is not working as intended. I’ll start looking into this to see if I can get it fixed.


Forum|alt.badge.img+3
  • Lucid product team
  • May 30, 2025

The code fix for this is done and waiting for review. I’ll notify again when the fix is released.


Forum|alt.badge.img+3
  • Lucid product team
  • June 3, 2025

The fix has been released. This should work as intended now.