Search found 8 matches

Go to advanced search

by Kevin Bradshaw
Mon Feb 02, 2015 10:22 pm
Forum: Issues
Topic: Timeout on file upload
Replies: 14
Views: 3539
 
Jump to post

Timeout on file upload

I think I see the problem, was using the wrong sessionToken.

Is there a way to allow for longer timeouts anyway?

by Kevin Bradshaw
Mon Feb 02, 2015 10:12 pm
Forum: Issues
Topic: Timeout on file upload
Replies: 14
Views: 3539
 
Jump to post

Timeout on file upload

I'm getting an error alert when uploading files: Error: Timeout using uploadMultipleFilesHelper(upload_service, Apperyio('file_input')); Is there a way to increase the timeout parameter or is there perhaps something else going wrong? I'm using Chrome to test my app. The file browser appears to work ...
by Kevin Bradshaw
Mon Feb 02, 2015 6:25 pm
Forum: Issues
Topic: referencing an array in local storage
Replies: 1
Views: 395
 
Jump to post

referencing an array in local storage

Fixed it!

Seems the notation should be as follows:

var location_name = Apperyio.storage.reverse_geocode.get( "$['results'][2]" ).formatted_address;

meaning, you need to get the array item as an objecr, then reference the specific parameter.

by Kevin Bradshaw
Mon Feb 02, 2015 4:34 pm
Forum: Issues
Topic: referencing an array in local storage
Replies: 1
Views: 395
 
Jump to post

referencing an array in local storage

I've an array of reverse geocoded location names stored in an array called "locations" as follows: [{"name":"2-26 Walnut Hill Road, Clinton, CT 06413, USA","latlng":-72.532335,"type":"RANGE_INTERPOLATED","formatted_name":"2-2...
by Kevin Bradshaw
Mon Feb 02, 2015 4:31 pm
Forum: Issues
Topic: "Bad request" when saving an object to db
Replies: 3
Views: 689
 
Jump to post

"Bad request" when saving an object to db

Fixed it! Just needed to add JSON.stringify before saving it to the db.

by Kevin Bradshaw
Sun Feb 01, 2015 2:13 pm
Forum: Issues
Topic: "Bad request" when saving an object to db
Replies: 3
Views: 689
 
Jump to post

"Bad request" when saving an object to db

This may be helpful:

"code: "DBSC252"
description: "Invalid value for type 'object': '{"results":[{"address_components":[{"lo"

by Kevin Bradshaw
Sun Feb 01, 2015 2:11 pm
Forum: Issues
Topic: "Bad request" when saving an object to db
Replies: 3
Views: 689
 
Jump to post

"Bad request" when saving an object to db

Hello! Wonder if you can help with this one. I'm attempting to create a document in my "location" database which includes an object (a JSON formatted response from google API). The geocoding and reverse all work fine, I'm just not able to save the reverse_geocode object to the db. Attached...
by Kevin Bradshaw
Sun Feb 01, 2015 2:05 pm
Forum: Issues
Topic: Bad request when saving an object via _create_service
Replies: 2
Views: 492
 
Jump to post

Bad request when saving an object via _create_service

Hello! wondering if you can help, I'm doing a location sense, getting latlng, then a reverse geocode via google's API. All seems to work fine, and I'm saving the results to a local storage object. I can console/log it and it all looks great. I'd like to save the reverse geocode object to a database ...

Go to advanced search