0

I am attempting to retrieve all messages from our ExactTarget instance for an ETL. I am following the documentation from ExactTarget's code@ site. However the calls are returning a 500 Internal Server Error. Here is my request in Ruby:

  begin
    response = RestClient::Request.execute(:method => :get, :url => 'https://www.exacttargetapis.com/push/v1/message', :headers => {'Authorization' => 'Bearer ' + access_token}, :timeout => 600, :open_timeout => 600)
  rescue => e
    e.response
  end

This is the 500 error response:

{
  "documentation"=>"https://code.docs.exacttarget.com/rest/errors/500",
  "errorcode"=>0,
  "message"=>"Internal Server Error"
}

Note: the documentation link is dead.

The credentials used are good and using foo credentials results in a 401 Unauthorized response as expected. Is there a better way to extract all data from ExactTarget for an ETL system? Is it possible to get useful error codes from ExactTarget?

10
  • 1
    What happens when you try to hit the endpoint in a chrome extension like Postman? Commented Apr 7, 2015 at 19:39
  • 1
    I'm getting 200 OK on that endpoint in Postman. So we know it's not Ruby. It's not your token because it'd be a different error message. Can you hit some other Marketing Cloud endpoint and get 200? Commented Apr 7, 2015 at 20:16
  • 1
    In Admin, make sure the user account has roles and permissions for everything relating to Push. Commented Apr 7, 2015 at 21:06
  • 1
    In the Marketing Cloud, are you able to bring up MobilePush and access all functionality? Commented Apr 7, 2015 at 21:55
  • 1
    In the app bar (Email, Mobile, Social, Ads, Web, etc). Some or all may be in your account according to your account setup. Hovering over one will drop down a menu of apps. Hovering over Mobile will show a menu with MobileConnect and MobilePush. If you don't have those it may be the reason for 500 on the 'push' endpoint. Commented Apr 8, 2015 at 21:10

1 Answer 1

1

For an email ETL, you may have to use the SOAP API, which is more robust for email. Check out this article.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .