HashtagSell / posting-sync-agent

Synchronizes postings from 3taps with the #Sell Posting API
0 stars 0 forks source link

Possible bug: No Anchor found #3

Closed that1guy closed 9 years ago

that1guy commented 9 years ago

23:48:24.212Z ERROR posting-sync-agent: No anchor found Error: No anchor found at checkResponseForError (/Users/braddavis/WebstormProjects/htsApp/api/posting-sync-agent/node_modules/3taps/lib/index.js:28:10) at Request._callback (/Users/braddavis/WebstormProjects/htsApp/api/posting-sync-agent/node_modules/3taps/lib/index.js:74:17) at Request.self.callback (/Users/braddavis/WebstormProjects/htsApp/api/posting-sync-agent/node_modules/request/request.js:344:22) at Request.emit (events.js:98:17) at Request. (/Users/braddavis/WebstormProjects/htsApp/api/posting-sync-agent/node_modules/request/request.js:1239:14) at Request.emit (events.js:117:20) at IncomingMessage. (/Users/braddavis/WebstormProjects/htsApp/api/posting-sync-agent/node_modules/request/request.js:1187:12) at IncomingMessage.emit (events.js:117:20) at _stream_readable.js:943:16 at process._tickCallback (node.js:419:13)

Are we sure this error is caused by 3Taps? When I see this error I can generate tokens all day via browser url: http://polling.3taps.com/poll?auth_token=f2862071ede0bbd93bee4f091c522a9e

Just thought to share my curiosity. Really loving the ingest agent + posting API man! App is going to be fast and scalable!

that1guy commented 9 years ago

We determined this was caused by too high of interval.. However this issue still reproduces when you use the following for local.json. Aggregate by state.

"models": {
    "postings": {
      "schedule": {
        "interval": "every 1 mins"
      },
      "polling" : {
        "location": {
          "state": "USA-CA"
        }
      }
    }
  },