API not accessible


#1

Hello,

I’m having issues with the Twitter Ads API. all calls receive a connection timeout. Example:
https://ads-api.twitter.com/1/accounts/{account}/funding_instruments

However, if I use the 1.1 version URL https://ads-api.twitter.com/1.1/accounts/{account}/funding_instruments, I get a response.

My questions is: has the /1/ URL been deprecated? If so, could you supply a link to where that was announced? If not, do you have any idea when the service will be up and running again?

While it’s easy to change the code to point to the 1.1 URL, any change such as this should go through a regression test and don’t want to commit to such a task if there’s no immediate need…

Thanks!


#2

@chillywilly2nd: using 1.1 for the GET accounts/:account_id/funding_instruments endpoint should result in the following error:

{
  "errors": [
    {
      "code": "ROUTE_NOT_FOUND",
      "message": "The requested resource could not be found"
    }
  ],
  "request": {
    "params": {}
  }
}

The /1/ has not been deprecated; you should continue to use it.


#3

Thanks for the reply and clarifications!

It seems that the problem was temporary. A couple of hours after posting this, the issue went away. Can you confirm that if it was a temporary outage?

Thanks again!


#4

Thanks for confirming, @chillywilly2nd. We did not see or hear of any other issues with this endpoint. If you run into anything else, please let us know.