Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1289] ASC Invalid Request error with not log in the managment console

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-08-10T07:57:57.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterPeter Ladis
AssigneeMauro Parra-Miranda
Created2014-07-08T17:02:39.000+0000
Updated2016-03-08T07:37:41.000+0000

Description

We are seeing that occasionally we received an INVALID REQUEST message from an ACS query that we do from one of our node service layers. Scenario Setup 1. Make a service call to a node.js app running on appcelerator cloud from our appcelerator IOS app. 2. The service route will run a ACS query like this {"response_json_depth":4,"where":"{\"date\":{\"$gte\":1404187200,\"$lte\":1406865599},\"[Custom_SalesTeam]team_id\":\"5342df681316e90b6e273b51\"}","sel":"{\"all\":[\"[Custom_ActivityDetail]activitydetail_ids\",\"Active\",\"Completed\",\"Activity\",\"started_at\",\"TotalSeconds\",\"user\",\"id\",\"username\",\"first_name\",\"last_name\",\"photo\",\"urls\"]}","per_page":1000,"page":1,"suppress_response_codes":"true","classname":"UserActivityDetail”} *****Notice that we are querying a table that is relational********** Occasionally we get a timeout of 60 seconds…and then appcelerator gives us this error { success: false, error: true, code: 400, message: 'Invalid request sent.’ } And the big thing that is weird…is the ACS logs console has no record of this request ever happening. With that being said…it appears as if the request is not even reaching to the ACS cloud.

Comments

  1. Mauro Parra-Miranda 2014-07-21

    Hello [~peterladis]! Does this still happens? Best Regards!
  2. Mauro Parra-Miranda 2014-08-10

    Can't reproduce, the customer doesn't reply anymore. We suspect an ACS hiccup.
  3. Peter Rockey 2014-12-05

    This issue still re-producible. Not only for while querying object, we getting this error sporadically for query,create and login methods. Can you please look into this?
  4. Peter Rockey 2014-12-05

    Here is the response I am getting: { success: false error: true code: 400 message: "Invalid request sent." } same thing not even logging in ACS logs console(/log page).

JSON Source