1b.app
Link copied -

{"status":0,"errorArray":["Repairing the updated element No. 0 behind the rack."]}

I have a request to create a process, when creating a process I want to attach a file, as soon as I add files I immediately get an error {"status":0,"errorArray":["Error updating element #0 for account."]}
data = [
{
"workflowid": 1,
"statusid": 1,
"name": "text",
"content": "text",
"files": [
"link_img",
"link_img"
],
"image": "link",
"client": {
"name": "Text",
"namelast": "Last Name",
"namemiddle": "Middle name",
"phones": ["phone"],
"findbyArray": ["phone"],
"returnwithoutupdate": True,
"showerrorafterfind": False
},
"clientaddress": "text",
"delivery": "novaposhta",
"payment": "cash",
"currency": "UAN",
"products": [
{
"productinfo": {
"name": "text"
},
"count": "1",
"price": "325500"
}
]
}
]
Original question is available on version: ru

Answers:

It would be desirable to implement the functionality that I attach a file that physically exists, and not a link to it
вчера, 13:21
Original comment available on version: ru


Artem wrote:
"files": [
"link_img",
"link_img"
],

The request probably doesn't look like this. Give a real example, it will be clearer

Artem wrote:
It would be desirable to implement the functionality that I attach a file that physically exists, and not a link to it

I can offer to accept base64 of file contents. It will take about 3 hours.
вчера, 13:49
Original comment available on version: ru



lace

OneBox production wrote:



Artem wrote:

"files": [

"link_img",

"link_img"

],



The query probably doesn't look like this. Give a real example, it will be clearer.



Artem wrote:

It is desirable to implement the functionality that I attach a file that physically exists, rather than a link to it.



I can suggest accepting base64 content of the file. It will take 3 hours.

вчера, 14:50
Original comment available on version: ua

At first glance, everything is ok. Attach this json from the screen as a file here and give a link to the user under which you make the request (I will take his token). I will try to make a request under this user and will be able to understand what exactly is wrong.
вчера, 15:09
Original comment available on version: ru

вчера, 16:47

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment