Shoeboxed / api

Official API documentation for integrating with Shoeboxed https://www.shoeboxed.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to update categories of a document

PierrickPuimeanChieze opened this issue · comments

I am trying to update the categories of a document, using Swagger (more specifically, using this method, but I get a malformed Json error with a 400 status code.

Request URL

https://api.shoeboxed.com:443/v2/accounts/1809343498/documents/58779bd28850c1bc73f20f4a/

Request Body (as pasted in swagger)

{
  "categories": [
    "Office"
  ]
}

Response Body

{
  "code": "MALFORMED_JSON_ERROR",
  "reason": "The HTTP message body couldn't be parsed as JSON.",
  "details": []
}

I am quite lost here, because the JSON pasted seems to be correctly formatted.