API can't append/update a row "table_not_exist"

Hello everybody,

I’m trying using the API but facing a show stopper.
Listing rows from my table works perfectly well (https://cloud.seatable.io/dtable-server/api/v1/dtables/3285a3e4-ef56-4757-8ea3-33be565b94ac/rows/?table_name=Table1 with the associated access token), but when I try to insert a row (or update an existing one), I get this error :

“error_type”: “table_not_exist”,
“error_message”: “table undefined not found”

My request looks like this (for the insert):
POST https://cloud.seatable.io/dtable-server/api/v1/dtables/3285a3e4-ef56-4757-8ea3-33be565b94ac/rows

“row”: {“Name”: “John”},
“table_name”: “Table1”

(with the access token in the Authorization header of course)

As you can see the table_name for the insert request is exactly the same as the one for the list request., so I’m little bit confused :confused:
Has anyone else succeeded to make this insert/append API work without any issue?
Thanks a lot for your feedback & have a nice day.

Hi, welcome to the SeaTable Forum.
How do you send the API requests, with Postman I hope? If so, please use the “Run in Postman” button on api.seatable.io to import the API calls into your Postman and run them.

Otherwise I would like to know how you send the request body (maybe a screenshot can help me understand better), because, on my end, it works fine:

Thanks for your feedback @Karlheinz .
I’ve imported the Postman project and made it work! It’s a great feature but a little bit “hidden” as the button disappears as soon as you scroll down…
Then I’ve compared with my rest client (Firefox plugin-in). I’ve figured out I got the error because the “Content-Type” header was missing :man_facepalming:
Good news is everything works as a charm! Sorry for the inconvenience :frowning:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.