Search found 28 matches

Go to advanced search

by LukeM
Thu Jul 23, 2015 9:22 pm
Forum: Issues
Topic: "DBSQ002","description":"database id not specified":
Replies: 2
Views: 374
 
Jump to post

"DBSQ002","description":"database id not specified":

Ok, this has been solved elsewhere
https://getsatisfaction.com/apperyio/...

Basically, don't delete the' Before Send' 'Mapping' thing.

by LukeM
Thu Jul 23, 2015 9:21 pm
Forum: Issues
Topic: My service tests out okay but fails in my app
Replies: 13
Views: 2109
 
Jump to post

My service tests out okay but fails in my app

I have just wasted hours going round in circles with this. Finally re-read this post for the fifth time and understood whats going on.
Suggestion, if deleteing the 'Before Send' 'Mapping' option is going to break the entire service call, would probably be a good idea to make it non-deleteable.

by LukeM
Thu Jul 23, 2015 9:04 pm
Forum: Issues
Topic: "DBSQ002","description":"database id not specified":
Replies: 2
Views: 374
 
Jump to post

"DBSQ002","description":"database id not specified":

Why do I get this error when I test the app in the browser?
"DBSQ002","description":"database id not specified"

It works fine when I test the relevant service directly in builder.

I have proxy turned on.

by LukeM
Sat Jun 20, 2015 7:09 pm
Forum: Issues
Topic: When writing server code, what is the proper syntax for forming an updateObject action that requres a token?
Replies: 9
Views: 872
 
Jump to post

When writing server code, what is the proper syntax for forming an updateObject action that requres a token?

not possible to make a request from server code to DB with master-key.

is this still an issue?

by LukeM
Sat Jun 20, 2015 3:05 pm
Forum: Issues
Topic: Collection.query not returning valid JSON?
Replies: 2
Views: 375
 
Jump to post

Collection.query not returning valid JSON?

Actually, I was just messing up my JSON parsing, i was expecting a string, and it's returning an Object.

console.log(result[0]._id);<

got me back on track.

( Might be helpful for other noobs.)

by LukeM
Sat Jun 20, 2015 2:29 pm
Forum: Issues
Topic: Collection.query not returning valid JSON?
Replies: 2
Views: 375
 
Jump to post

Collection.query not returning valid JSON?

Hi, i'm trying to use Collection.query in Server Code but the results do not seem to be valid JSON. I get an error on: var result = Collection.query(dbId, collectionNameA, queryStringA, tokenID); console.log(result); var obj = JSON.parse(result); [SyntaxError: Unexpected token o] if I copy paste fro...
by LukeM
Fri Jun 19, 2015 9:20 am
Forum: Issues
Topic: where clause problem
Replies: 10
Views: 1163
 
Jump to post

where clause problem

Yep, I'm good. Thanks for your help.

by LukeM
Fri Jun 19, 2015 7:46 am
Forum: Issues
Topic: where clause problem
Replies: 10
Views: 1163
 
Jump to post

where clause problem

Can I suggest that you make a change to the Test console so that it would catch my error, rather than succeed. many thanks.

by LukeM
Fri Jun 19, 2015 7:45 am
Forum: Issues
Topic: where clause problem
Replies: 10
Views: 1163
 
Jump to post

where clause problem

Great, your advice worked, much appreciated :-) Please use following where value instead of yours: {"time_of_next_status_change":{"$lt":1433965636}} $lt and $gt operators works with "date" or "number" field. So if you have there number type field you need to p...
by LukeM
Thu Jun 18, 2015 9:06 pm
Forum: Issues
Topic: where clause problem
Replies: 10
Views: 1163
 
Jump to post

where clause problem

Thanks, app shared and details sent via email.

Go to advanced search