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
25.06.2025, 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.
25.06.2025, 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.

25.06.2025, 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.
25.06.2025, 15:09
Original comment available on version: ru

25.06.2025, 16:47

Change True and False to true and false
26.06.2025, 12:07
Original comment available on version: ru



lace

OneBox production wrote:

True and False change to true and false



The files appear but they cannot be opened, even if you download them. I will also attach a screenshot of what the file looks like when you download it manually through the site and not the API.
26.06.2025, 13:23
Original comment available on version: ru

give me a link to the process they applied to, I'll see what can be done, maybe there's a missing mimetype
26.06.2025, 13:52
Original comment available on version: ru


lace
OneBox production wrote:
give me a link to the process they were added to, I'll see what I can do, maybe there's a missing mimetype

https://testapifivverbot.1b.app/84/
26.06.2025, 18:15
Original comment available on version: ua


lace
OneBox production wrote:
give me a link to the process they were added to, I'll see what I can do, maybe there's a missing mimetype

So what?
02.07.2025, 17:30
Original comment available on version: ua

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