When the input is purple it means it’s set to evaluate an expression. However, that is not the issue as the value it’s a hardcoded rather than an expression.
Let’s try to isolate the issue. If you try the workflow below, does it work for you? (Note: Add your ids and credentials)
{
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
250,
300
]
},
{
"parameters": {
"resource": "observable",
"operation": "create",
"caseId": "4120",
"dataType": "file",
"message": "aaa",
"startDate": "2021-04-20T12:02:42.000Z",
"status": "Ok",
"options": {}
},
"name": "TheHive",
"type": "n8n-nodes-base.theHive",
"typeVersion": 1,
"position": [
870,
300
],
"credentials": {
"theHiveApi": "TheHiveProject (Docker - V3)"
}
},
{
"parameters": {
"mode": "jsonToBinary",
"options": {
"fileName": "data.json"
}
},
"name": "Move Binary Data",
"type": "n8n-nodes-base.moveBinaryData",
"typeVersion": 1,
"position": [
670,
300
]
},
{
"parameters": {},
"name": "Function",
"type": "n8n-nodes-base.function",
"typeVersion": 1,
"position": [
450,
300
],
"notesInFlow": true,
"notes": "Mockup data"
}
],
"connections": {
"Start": {
"main": [
[
{
"node": "Function",
"type": "main",
"index": 0
}
]
]
},
"Move Binary Data": {
"main": [
[
{
"node": "TheHive",
"type": "main",
"index": 0
}
]
]
},
"Function": {
"main": [
[
{
"node": "Move Binary Data",
"type": "main",
"index": 0
}
]
]
}
}
}