mindofbeholder
mindofbeholder
Explore posts from servers
WWindmill
Created by mindofbeholder on 11/17/2023 in #help
Failed to deserialize form body on twilio POSTs to Windmill intake webhook
Windmill version: CE v1.208.0-12-gd82027cbf Webhook: https://windmill.redacted.dev/api/w/home/jobs/run_wait_result/f/f/twilio/twilio_intake?token=redacted I have twilio setup to post to a webhook trigger in a flow. Twilio sends texts as x-www-form-urlencoded payloads. I am seeing the following error response from Windmill on POST: Failed to deserialize form body: invalid type: map, expected option I can reproduce this behavior in Postman. Sample payload:
ToCountry:US
ToState:AK
SmsMessageSid:SMredacted
NumMedia:0
ToCity:
FromZip:55555
SmsSid:SMredacted
FromState:AK
SmsStatus:received
FromCity:REDACTED
Body:Test
FromCountry:US
To:+15555555
MessagingServiceSid:MGredacted
ToZip:
NumSegments:1
MessageSid:SMredacted
AccountSid:ACredacted
From:+15555555
ApiVersion:2010-04-01
ToCountry:US
ToState:AK
SmsMessageSid:SMredacted
NumMedia:0
ToCity:
FromZip:55555
SmsSid:SMredacted
FromState:AK
SmsStatus:received
FromCity:REDACTED
Body:Test
FromCountry:US
To:+15555555
MessagingServiceSid:MGredacted
ToZip:
NumSegments:1
MessageSid:SMredacted
AccountSid:ACredacted
From:+15555555
ApiVersion:2010-04-01
12 replies
HHomarr
Created by mindofbeholder on 11/11/2023 in #💬・get-help
How do I clear cache in .14?
Documentation says to go to "Settings -> Clear all cache". This is not present in .14
8 replies
WWindmill
Created by mindofbeholder on 9/4/2023 in #help
Permission denied when piping bash output to the result outputs
Running the below command in a bash script docker ps -a --format "{{.Names}}" | './result.json' I'm seeing the following error:
{
"error": {
"name": "ExecutionErr",
"message": "ExitCode: 126, last log lines:\nmain.sh: line 7: ./result.json: Permission denied"
}
}
{
"error": {
"name": "ExecutionErr",
"message": "ExitCode: 126, last log lines:\nmain.sh: line 7: ./result.json: Permission denied"
}
}
Regardless of if I pipe to result.json or result.out I get the same error. I just pulled and updated windmill. Error still occurs. I'm running windmill in docker containers.
5 replies
WWindmill
Created by mindofbeholder on 8/15/2023 in #help
App field validation question
Is it possible to utilize a frontend script to create custom field validations and show custom errors on screen? eg I have 3 fields. The first is always required, and at least one of the other two fields must be filled in, but not necessarily both. I want to be able to create a script that validates this configuration and throws a custom error/toast noti based on the completed fields. Can this be done current state? I'm using the self hosted variant if that makes a difference here.
40 replies
WWindmill
Created by mindofbeholder on 8/8/2023 in #help
Unable to start new Windmill instance with default docker due to "role 'root' does not exist'" error
I'm utilizing the default docker compose with the multiplayer and caddy services removed. When I start up the services I see this error on the db container:
2023-08-08T17:22:25.573703934Z 2023-08-08 17:22:25.573 UTC [431] FATAL: password authentication failed for user "root"
2023-08-08T17:22:25.573732259Z 2023-08-08 17:22:25.573 UTC [431] DETAIL: Role "root" does not exist.
2023-08-08T17:22:25.573703934Z 2023-08-08 17:22:25.573 UTC [431] FATAL: password authentication failed for user "root"
2023-08-08T17:22:25.573732259Z 2023-08-08 17:22:25.573 UTC [431] DETAIL: Role "root" does not exist.
Reviewing the server container I see this:
2023-08-08T17:17:40.260238531Z 2023-08-08T17:17:40.260191Z INFO windmill: Connecting to database...
2023-08-08T17:17:40.265424110Z Error: Connecting to database: error returned from database: password authentication failed for user "root"
2023-08-08T17:17:40.260238531Z 2023-08-08T17:17:40.260191Z INFO windmill: Connecting to database...
2023-08-08T17:17:40.265424110Z Error: Connecting to database: error returned from database: password authentication failed for user "root"
I logged into the db container, installed curl, and ran the "init-db-as-superuser.sql" script but the error continued to occur.
22 replies