-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TriggeredSend issues - FuelSDK::DescribeError: Unable to get TriggeredSend #2
Comments
Hey, alessndro. Can you post the code you've been using to try to trigger sends? Here's what has worked for me in the past: et = FuelSDK::TriggeredSend.new
et.client = FuelSDK::Client.new({
'client' => {
'id' => <CLIENT_ID>,
'secret' => <CLIENT_SECRET>
}
})
et.properties = {
"CustomerKey" => <CUSTOMER KEY OF TRIGGERED SEND>,
"Subscribers" => [{
"EmailAddress" => <TARGET EMAIL ADDRESS>,
"SubscriberKey" => <TARGET EMAIL ADDRESS>,
"Attributes" => <ARRAY OF ATTRIBUTE HASHES>
}]
}
response = et.send I believe [
{'Name' => 'FirstName', 'Value' => 'John Smith'},
{'Name' => 'Age', 'Value' => 76}
] |
Hi @bbakersmith, I was using samples provided in the repo, so for triggered sends that was the example here. I just retried using the code you provided and I am receiving the exact same error: FuelSDK::DescribeError: Unable to get TriggeredSend
from /Users/s/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/fuelsdk-0.1.6/lib/fuelsdk/soap.rb:164:in `get_all_object_properties' I did try stepping through the code using pry-debugger, but saying I have little experience with SOAP would be an understatement! I'm using Ruby 2.1.0, though I don't think that's the problem since the other developer who was also having this problem with the original Fuel-SDK gem was using Ruby 1.9. In the end I gave up and wrote my own very simple wrapper around ExactTarget's REST API instead (using this endpoint), which seems to be working so far. Thanks for your help though! |
Aha, you're right, I was using an old version of the SDK, v 0.0.5. My code fails if I use the current version of the gem. |
Looking at this and the other issue today. |
@alessndro not addressed in 0.1.7. |
@barberj I am too getting this issue. Any fix there yet? |
Getting the same error... |
Hi, first off thanks for maintaining a fork of the seemingly abandoned 'official' gem.
I am having the same issue that was present in the unmaintained version here.
Using this gem, I can get a list of TriggeredSends and retrieve their status no problem.
Sending with a TriggeredSend does not work though, and always raises the error:
FuelSDK::DescribeError: Unable to get TriggeredSend from /Users/s/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/fuelsdk-0.1.6/lib/fuelsdk/soap.rb:163:in `get_all_object_properties'
And the full error message with debug mode on:
I will continue to dig around the source, but any help would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered: