Verringer
Active member
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:
Trying to post a thread to node 58.
I've just just about every combination of entering context[node_id], but this is my favourite so far:
File is uploading, the key is being created, just rejecting the key context constantly. Any help on the format of context would be a great help.
Uploading to /api/threads usually returns:
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 to node 58.
I've just just about every combination of entering context[node_id], but this is my favourite so far:
File is uploading, the key is being created, just rejecting the key context constantly. Any help on the format of context would be a great help.
Last edited: