# API not accepting MarkDown Tables

**URL:** <https://meta.discourse.org/t/api-not-accepting-markdown-tables/111726>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [15 במרץ,‏ 2019,‏ 6:21pm UTC](https://meta.discourse.org/t/api-not-accepting-markdown-tables/111726 "2019-03-15T18:21:09Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![dpaulus](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@dpaulus](https://meta.discourse.org/u/dpaulus)\
**Post date:** [15 במרץ,‏ 2019,‏ 6:21pm UTC](https://meta.discourse.org/t/api-not-accepting-markdown-tables/111726/1 "2019-03-15T18:21:09Z")

</div>

We use the hosted solution.

**Description of Problem:** Use the API to make posts. This has worked perfectly for the last 4 months (the last being Monday 3/11/19) until today. I created a couple very simple test to narrow down the problem:

_Data being sent thru API:_  
|Col1|Col2|  
|—|—|  
|Col1data|Col2data|  
_Image of the result:_

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/a/3ac5fd199b881670d2b5d57ae46126603de4c08d.png)

Notice the highlighted first header/data separator. Somehow it was changed from 3 dashes to a full line. The second separator was not changed. I believe this is the problem. Because the first column separator is not 3 dashes anymore, it doesn’t interpret it as a markdown table anymore. I just don’t know what causes the 3 dashes to change to this line char(s).

I can (sort of) replicate this ‘changing of dashes to a line’ when posting manually as well. If I enter this (note the second column separator is 3 dashes)…well, it is until it posts…  
|Col1|Col2|  
|\_\_\_|—|  
|Col1data|Col2data|

The post will actually show the second separator now as a full line. Since, I’m a new user to this site, it’s saying I can’t post more than two images (huh?), so I can’t show the exact image, but here is a test url: [https://try.discourse.org/t/test-table-cause-seeing-problem/1335](https://try.discourse.org/t/test-table-cause-seeing-problem/1335)

I believe whatever is causing that change of the dashes to the line character, is also what is affecting the 3 dashes to change in the API as well. But, this is all a guess.

Can someone please help shed any light on this? 1) Why is this happening? 2) Did something change recently that could have caused this?

---

_[View the full topic](https://meta.discourse.org/t/api-not-accepting-markdown-tables/111726)._
