Getting erro 'Internal client exception', message: 'Unexpected response code for CONNECT: 400'

This is only happening in only one table. The contributions table. Here’s is my code

.....

protected List<Contributions> doInBackground(Integer... params) {
    try {
        BackendlessDataQuery query = new BackendlessDataQuery();
        BackendlessCollection<Contributions> data = Contributions.find( query );
        addItemsContributionList( data );
    }catch (Exception e){
        e.printStackTrace();
    }
....

And here is the erroe stack

BackendlessException{ code: 'Internal client exception', message: 'Unexpected response code for CONNECT: 400' }
 at com.backendless.Invoker$SyncResponder.errorHandler(Invoker.java:127)
at com.backendless.core.responder.AdaptingResponder.errorHandler(AdaptingResponder.java:93)
at weborb.client.ioEngine.HttpIOEngine.send(HttpIOEngine.java:213)
at weborb.client.ioEngine.HttpIOEngine.invoke(HttpIOEngine.java:145)
05-30 12:13:06.391 5058-6213/com.maos.chama W/System.err:     at weborb.client.WeborbClient.invoke(WeborbClient.java:138)
05-30 12:13:06.411 5058-6213/com.maos.chama W/System.err:     at com.backendless.Invoker.invokeSync(Invoker.java:100)
05-30 12:13:06.421 5058-6213/com.maos.chama W/System.err:     at com.backendless.Persistence.find(Persistence.java:604)
05-30 12:13:06.421 5058-6213/com.maos.chama W/System.err:     at com.backendless.DataStoreFactory$1.find(DataStoreFactory.java:161)
05-30 12:13:06.441 5058-6213/com.maos.chama W/System.err:     at com.maos.chama.backendless_models.Contributions.find(Contributions.java:272)
05-30 12:13:06.441 5058-6213/com.maos.chama W/System.err:     at com.maos.chama.ui.SummaryActivity$GetContributionsTask.doInBackground(SummaryActivity.java:225)
05-30 12:13:06.441 5058-6213/com.maos.chama W/System.err:     at com.maos.chama.ui.SummaryActivity$GetContributionsTask.doInBackground(SummaryActivity.java:218)
05-30 12:13:06.451 5058-6213/com.maos.chama W/System.err:     at android.os.AsyncTask$2.call(AsyncTask.java:264)
05-30 12:13:06.451 5058-6213/com.maos.chama W/System.err:     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
05-30 12:13:06.461 5058-6213/com.maos.chama W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:137)
05-30 12:13:06.481 5058-6213/com.maos.chama W/System.err:     at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
05-30 12:13:06.481 5058-6213/com.maos.chama W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
05-30 12:13:06.481 5058-6213/com.maos.chama W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
05-30 12:13:06.501 5058-6213/com.maos.chama W/System.err:     at java.lang.Thread.run(Thread.java:856)

Hi Samuel,

Could you please try adding Backendless.setUrl( “http://api.backendless.com” ); line before the initApp call in your application and then try running the same code?

Thank you Chupov for the prompt response. That solved my problem. +