Is there a size limit for body.storge when updating a page with the REST API?

I’m using PUT wiki/rest/aip/content/{id} to update a Confluence page.

I’m giving the new content in body.storage.value.

I’m loading a large html table as the content and it works fine for a “normally-sized” table but I seem to be hitting a limit when my table/content starts getting big. I can’t quite nail down at what point it breaks but if I go much beyond 64k, I get a 400 Bad Request error from the API call and the page doesn’t update.

Argh! Never mind. I had an unescaped ampersand in some of my table data. Big tables are working now.

2 Likes