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:

    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

This is the 500 error response:

  "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?

  • 1
    What happens when you try to hit the endpoint in a chrome extension like Postman? – Drew Simmons Apr 7 '15 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? – Drew Simmons Apr 7 '15 at 20:16
  • 1
    In Admin, make sure the user account has roles and permissions for everything relating to Push. – Drew Simmons Apr 7 '15 at 21:06
  • 1
    In the Marketing Cloud, are you able to bring up MobilePush and access all functionality? – Drew Simmons Apr 7 '15 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. – Drew Simmons Apr 8 '15 at 21:10

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.