Dust Community Icon

Help Needed: Error 400 with Dust API Document Upsert

·
·

Hey guys! 👋 I would need help with the Dust API! We're trying to upsert a document with a defined label, I thought about using the "tags" but I keep getting an error (400 invalid JSON). As soon as I remove the tag section it works well! Could you please help? Here is the body we have:

{
  "title": "{{issue.key}}",
  "text": "Title : {{issue.summary}} & description : {{issue.description}}",
  "source_url": "{{issue.url}}",
  "tags": ["team:yourteamname"]
}
  • Avatar of Daphné
    Daphné
    ·
    ·

    Hi! Yes this is the valid way to use them, just tested locally with this and it works for me:

    {
      "title": "Test",
      "text": "Mon super test cool",
      "tags": ["test:mytag"]
    }

    Do you have access to more details in your error log?