All API calls fail


I have two applications. Both use the same consumer key and access token. One application connects to twitter and pulls tweets. The second application connects to twitter but fails on any further API calls. The second application used to work fine a few weeks ago but for some random reason, just started failing.

This is what my code looks like

try {
// This part is successfull.
ConfigurationBuilder cb = new ConfigurationBuilder();
TwitterFactory tf = new TwitterFactory(;
twitter = tf.getInstance();
} catch (Exception e) {
// Do error handling but the connection never fails.

// This fails. This could be any method that’s part of the Twitter object but they all fail.