-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Queued points not clearing after successful post #166
Comments
Do you have any way to tell how long this script takes to return the success response? I haven't set any timeouts on the http client and I don't know what the default is, but my guess is it's timing out before the app gets the response. |
UPDATE: I changed the URL to my CouchDB endpoint (which takes a raw JSON payload) and it worked; I saw the queue count drop and a record write to the database. It appears to be something with Google Apps Script. For what it's worth, I believe GAS does an HTTP redirect to present the response; could the app possibly not be following the redirect? |
Yes, an HTTP redirect means it's first returning a non 200 HTTP code, which the app considers a failure then. |
I have set up a Google Apps Script to receive the output from the Overland app and create a JSON file in my Google Drive. While the execution is successful and returning the expected
{ "result": "ok"}
, the queued locations are not being cleared after the post.The script:
The text was updated successfully, but these errors were encountered: