[RSS Feed/News] Posting thread with attachment via REST API, receiving: attachment_key_context_wrong

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I'm like 4 hours into trying to get an attachment to upload to XF REST API and use it in a thread, so far I can't even get it to work in postman.

Uploading to /api/threads usually returns:
Code:

Code:
{
    "errors": [
        {
            "code": "attachment_key_context_wrong",
            "message": "The provided attachment key does not have the expected context.",
            "params": {
                "expected": "node_id=58"
            }
        }
    ]
}

Trying to post a thread...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom