You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TwilioExecution task should execute successfully.
I tried it programmatically using the appropriate values with the following python code:
import os
from twilio.rest import Client
# Find your Account SID and Auth Token at twilio.com/console
# and set the environment variables. See http://twil.io/secure
account_sid = "AC....."
auth_token = "70........"
client = Client(account_sid, auth_token)
service = client.notify.v1.services.create()
print(service)
notification = client.notify.v1.services(service.sid) \
.notifications.create(identity="00000001", body="Hello Bob")
print(notification)
And the above code runs successfully. Same values were used in the Kestra task.
2024-10-11 11:18:33,375 ERROR WorkerThread f.n.7.5QalM1dz4OHviV566WsFhs Authentication Error - No credentials provided
io.micronaut.http.client.exceptions.HttpClientResponseException: Authentication Error - No credentials provided
at io.micronaut.http.client.netty.DefaultHttpClient$FullHttpResponseHandler.makeErrorFromRequestBody(DefaultHttpClient.java:2257)
at io.micronaut.http.client.netty.DefaultHttpClient$FullHttpResponseHandler.forwardResponseToPromise(DefaultHttpClient.java:2211)
at io.micronaut.http.client.netty.DefaultHttpClient$FullHttpResponseHandler.channelReadInstrumented(DefaultHttpClient.java:2181)
at io.micronaut.http.client.netty.DefaultHttpClient$FullHttpResponseHandler.channelReadInstrumented(DefaultHttpClient.java:2149)
at io.micronaut.http.client.netty.SimpleChannelInboundHandlerInstrumented.channelRead0(SimpleChannelInboundHandlerInstrumented.java:46)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
Steps To Reproduce
Ran the example flow with appropriate values
Environment Information
Kestra Version: 0.19.1
Plugin version: 0.19.1
Operating System (OS / Docker / Kubernetes): Docker
Expected Behavior
The TwilioExecution task should execute successfully.
I tried it programmatically using the appropriate values with the following python code:
And the above code runs successfully. Same values were used in the Kestra task.
Reference: https://www.twilio.com/docs/notify/api/service-resource
Actual Behaviour
The TwilioExecution task throws error:
Steps To Reproduce
Environment Information
Example flow
The text was updated successfully, but these errors were encountered: