Skip to content
This repository has been archived by the owner on Aug 14, 2018. It is now read-only.

Checkin Count API call is failing with 500 Error #16

Open
therebelrobot opened this issue Jan 26, 2017 · 0 comments
Open

Checkin Count API call is failing with 500 Error #16

therebelrobot opened this issue Jan 26, 2017 · 0 comments
Labels

Comments

@therebelrobot
Copy link
Contributor

installation: codeforsanfrancisco.org
relevant logs:

Jan 26 14:26:55 sfbrigade app/web.1:  TypeError: Cannot convert undefined or null to object 
Jan 26 14:26:55 sfbrigade app/web.1:      at req.mrt.result.req.mrt.result.map (/app/node_modules/brigadehub-core/helpers/mortimer/checkinResource.js:14:23) 
Jan 26 14:26:55 sfbrigade app/web.1:      at Array.map (native) 
Jan 26 14:26:55 sfbrigade app/web.1:      at /app/node_modules/brigadehub-core/helpers/mortimer/checkinResource.js:12:39 
Jan 26 14:26:55 sfbrigade app/web.1:      at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) 
Jan 26 14:26:55 sfbrigade app/web.1:      at next (/app/node_modules/express/lib/router/route.js:131:13) 
Jan 26 14:26:55 sfbrigade app/web.1:      at req.(anonymous function).query.exec (/app/node_modules/mortimer/lib/Resource.js:524:24) 
Jan 26 14:26:55 sfbrigade app/web.1:      at Query.<anonymous> (/app/node_modules/mongoose/lib/query.js:2180:28) 
Jan 26 14:26:55 sfbrigade app/web.1:      at /app/node_modules/kareem/index.js:177:19 
Jan 26 14:26:55 sfbrigade app/web.1:      at /app/node_modules/kareem/index.js:123:27 
Jan 26 14:26:55 sfbrigade app/web.1:      at Promise.all.then (/app/node_modules/brigadehub-core/models/Checkins/index.js:39:5) 
Jan 26 14:26:55 sfbrigade app/web.1:      at process._tickCallback (internal/process/next_tick.js:103:7) 
Jan 26 14:26:55 sfbrigade app/web.1:  GET /api/checkins?date__gt=1484951199740 500 98.443 ms - - 

Will pull a copy of the checkins db to inspect for malformed data.

@therebelrobot therebelrobot self-assigned this Jan 26, 2017
@therebelrobot therebelrobot removed their assignment Mar 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant