Hey team
We are intensively testing Webcon. I'm trying to send a PDF attachment in a simple app using the HTTP POST method, and I can't get it to work. Postman works fine, Python too.
How can I adjust my action to make it go through? We prepared it based on this article:
https://kb.webcon.pl/przekazywanie-zalacznikow-do-google-drive-za-pomoca-akcji-rest/
Unfortunately, it doesn't want to load the PDF file in the request. Any idea why? I attached also screenshots of action configuration.
See logs below:
OG_ID
LOG_DEFID
LOG_WFDID
LOG_WTHID
LOG_STPID
LOG_ACTID
LOG_Status
LOG_TSInsert
LOG_TSUpdate
LOG_RowVersion
LOG_WFID
LOG_AdditionalMessage
LOG_ActionSucceeded
LOG_Duration
LOG_ActionType
LOG_TransactionType
LOG_ParentActionID
LOG_ShowOnlyInAdminMode
LOG_ACBID
LOG_Name
LOG_Description
LOG_SectionGuid
LOG_ASEID
LOG_ActionExecutionGuid
409
1022
187
495
1061
2
20-03-2025 19:26:15
20-03-2025 19:26:15
System.Byte[]
1021
Version: 3
FALSE
0
2
3
FALSE
Rollback after an error in automation
b33951bc-bf05-45e4-a8a8-abbb692210d9
309
408
1022
187
495
1061
69
0
20-03-2025 19:26:15
20-03-2025 19:26:15
System.Byte[]
1021
Error code: 100
Request Start
Request-Url:
https://link-to-url/api
Request-Header:
Request-Body:
[BINARY_CONTENT] 193145 bytes
Request End
Response Start
Response-Code:
BadRequest (400)
Response-Body:
{"error":"No file part"}
Response-Header:
Date: Thu, 20 Mar 2025 19:26:15 GMT
Server: gunicorn
Response End
Exceptions:
System.Exception: Rest service call failed. Http code BadRequest (400). Inspect log to get more information.
Other:
Version: 3
FALSE
65
2
0
FALSE
After Action Warning: Send to API PDF2Image
Send to API PDF2Image - Request Url:
https://link-to-url/api
Response Code:
BadRequest (400)
Exceptions:
Rest service call failed. Http code BadRequest (400). Inspect log to get more information.
b33951bc-bf05-45e4-a8a8-abbb692210d9
309