Skip to content

json: cannot unmarshal array into Go struct field MacroAction.macros.actions.value #253

@Code-Hex

Description

@Code-Hex

I got an error message when I send a request to /macros.json .
I did the investigation, this error happened when the API responded like the below.

"actions": [
        {
          "field": "side_conversation_ticket",
          "value": [
            "こんにちは",
            "<p>■テストです。</p>",
            "SupportAssignable:support_assignable/group/5291292944015",
            "text/html"
          ]
        }
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions