Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14672] Android: Kitchensink - Foursquare - 'bad request' alert instead of displaying the nearby venues

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-05-02T20:37:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid, iOS
Labelsqe-3.1.1
ReporterAnshu Mittal
AssigneeEric Merriman
Created2013-07-26T11:17:46.000+0000
Updated2017-05-02T20:37:51.000+0000

Description

Kitchensink - Foursquare - 'bad request' alert instead of displaying the nearby venues. This is not regression since the issue occurs in 3.1.1 GA as well. Steps to reproduce: 1. Go to KS> Mashups>Foursquare. 2. Enter username and password and click on 'Get venues nearby'. Actual: Gets an alert stating 'bad request' Expected: Should return the nearby venues

Comments

  1. Olga Romero 2013-08-12

    Occurs on Appcelerator Studio: , build: 3.1.2.201308091728 Titanium SDK, build: 3.1.2.v20130809141556 CLI: 3.1.2-alpha Alloy: 1.2.0-alpha6 Devices: Nexus4 Android version 4.3 Nexus7(2) Android version 4.3
  2. Lokesh Choudhary 2013-09-05

    The issue is reproducible with the environment below. Taping on 'Get venues nearby' gives an alert with bad request error. Environment: Appcel Studio : 3.1.3.201308252005 Ti SDK : 3.1.3.v20130904134612 Mac OSX : 10.8.4 CLI - 3.1.2-alpha Nexus 7 - android 4.2
  3. Sunila 2013-10-02

    The Foursquare API that is used in the app is deprecated, basic authentication is no longer supported, it needs to be replaced by OAuth. V2 API is http://api.foursquare.com/v2/venues/search
  4. Paras Mishra 2014-04-07

    Now I am getting 'Not found' alert on clicking 'Get venues nearby'. Error logs are:
       [ERROR] :  TiHttpClient: (TiHttpClient-1) [7504,76473] HTTP Error (org.apache.http.client.HttpResponseException): Not Found
       [ERROR] :  TiHttpClient: org.apache.http.client.HttpResponseException: Not Found
       [ERROR] :  TiHttpClient: 	at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:258)
       [ERROR] :  TiHttpClient: 	at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:217)
       [INFO] :   ERROR Not Found
       [ERROR] :  TiHttpClient: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:657)
       [ERROR] :  TiHttpClient: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:637)
       [ERROR] :  TiHttpClient: 	at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1287)
       [ERROR] :  TiHttpClient: 	at java.lang.Thread.run(Thread.java:841)
       [INFO] :   ALERT: (KrollRuntimeThread) [3,76476] Not Found
       
    Environment used: Device : Google Nexus 4, Android Version: 4.1.1 Device : Google Nexus 7, Android Version: 4.4.2 SDK: 3.2.3.v20140403105720 CLI version : 3.2.3-alpha2 OS : MAC OSX 10.9.2 Alloy: 1.3.1 ACS: 1.0.14 npm:1.3.2 Appcelerator Studio, build: 3.2.3.201404031900 titanium-code-processor: 1.1.1-alpha XCode : 5.1
  5. Priya Agarwal 2014-07-03

    Tested with: Appcelerator-Studio: 3.3.0.201406271159 Sdk:3.3.0.v20140702175712 acs:1.0.15 alloy:1.4.0-rc3 npm:1.3.2 titanium:3.3.0-rc4 titanium-code-processor:1.1.1 OS:Maverick(10.9.3) Foursquare option under MashUps of Kitchen Sink does not exist anymore.
  6. Lee Morris 2017-05-02

    Resolving ticket as Invalid as there is now a new version of Kitchen Sink available and we no longer support the version which relates to this ticket.

JSON Source