Create Table via API does not work

Your Setup:

  • SeaTable Cloud, Dedicated or Self-hosted? cloud

Describe the Problem/Error/Question:

Creating a table (via the create table API web interface) containing 1 field or more does not work. Creating the table only (without fields) does work

Error Messages:

{
  "error_type": "parameter_error",
  "error_message": "The 0s column name or type can not be empty."
}

Thanks for the hint. We will have a look at this.

The problem is that the column_type is not added from readme.com to the curl request.
You can see it in your screenshot. You want to add a text column, but only column_name is added to the curl request on the right.

I will check, why this value is not added to the curl request and how we can fix this.

It makes sense.

I confirm that I include the ‘type’ when creating the request. For some reason, it’s not included in the final result.

Thanks,

S.

Any news on this issue ?

The issue was confirmed be readme.com but we still wait for an answer when they will fix it on their side for api.seatable.com.

Now, that you know what the problem is, you can use the API request and column_type, right?

Yes, thank you!

I mark this issue as solved. We’ll provide an update once the API reference has been fixed.