ASCTB-API crashing
Closed this issue · 0 comments
2022-03-02T16:40:59.955607+00:00 app[web.1]: at /app/dist/src/routes/csv.js:8:71
2022-03-02T16:40:59.955608+00:00 app[web.1]: at new Promise ()
2022-03-02T16:40:59.955608+00:00 app[web.1]: at __awaiter (/app/dist/src/routes/csv.js:4:12)
2022-03-02T16:40:59.955608+00:00 app[web.1]: at /app/dist/src/routes/csv.js:83:39
2022-03-02T16:40:59.955609+00:00 app[web.1]: at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
2022-03-02T16:40:59.955610+00:00 app[web.1]: at next (/app/node_modules/express/lib/router/route.js:137:13)
2022-03-02T16:40:59.955610+00:00 app[web.1]: at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3)
2022-03-02T16:40:59.955610+00:00 app[web.1]: at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
2022-03-02T16:41:00.159472+00:00 heroku[web.1]: Process exited with status 1
2022-03-02T16:41:00.211355+00:00 heroku[web.1]: State changed from up to crashed
2022-03-02T17:03:12.649259+00:00 heroku[web.1]: State changed from crashed to starting
2022-03-02T17:03:15.563109+00:00 heroku[web.1]: Starting process with command npm start
2022-03-02T17:03:17.531981+00:00 app[web.1]:
2022-03-02T17:03:17.532009+00:00 app[web.1]: > asctb-api@1.0.0 start
2022-03-02T17:03:17.532009+00:00 app[web.1]: > npm run serve
2022-03-02T17:03:17.532010+00:00 app[web.1]:
2022-03-02T17:03:18.016309+00:00 app[web.1]:
2022-03-02T17:03:18.016331+00:00 app[web.1]: > asctb-api@1.0.0 serve
2022-03-02T17:03:18.016331+00:00 app[web.1]: > node dist/src/index.js
2022-03-02T17:03:18.016331+00:00 app[web.1]:
2022-03-02T17:03:18.686056+00:00 heroku[web.1]: State changed from starting to up
2022-03-02T17:03:40.143083+00:00 app[web.1]: http://asctb-api.herokuapp.com/v2/csv?output=json&csvUrl=https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1F8ZXt1naE1pJFjfsAd6wK7x22D3qRW5O0E2d9gUKAik%2Fedit%23gid%3D1694828397
2022-03-02T17:03:40.929835+00:00 app[web.1]: TypeError: Cannot read properties of undefined (reading '0')
2022-03-02T17:03:40.929845+00:00 app[web.1]: at /app/dist/src/functions/api.functions.js:106:58
2022-03-02T17:03:40.929846+00:00 app[web.1]: at new Promise ()
2022-03-02T17:03:40.929846+00:00 app[web.1]: at Object.makeASCTBData (/app/dist/src/functions/api.functions.js:94:12)
2022-03-02T17:03:40.929847+00:00 app[web.1]: at Object. (/app/dist/src/routes/csv.js:42:40)
2022-03-02T17:03:40.929847+00:00 app[web.1]: at Generator.next ()
2022-03-02T17:03:40.929847+00:00 app[web.1]: at fulfilled (/app/dist/src/routes/csv.js:5:58)
2022-03-02T17:03:40.929848+00:00 app[web.1]: at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-03-02T17:03:49.137709+00:00 app[web.1]: http://asctb-api.herokuapp.com/v2/csv?output=jsonld&csvUrl=https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1F8ZXt1naE1pJFjfsAd6wK7x22D3qRW5O0E2d9gUKAik%2Fedit%23gid%3D1694828397
2022-03-02T17:03:49.761842+00:00 app[web.1]: TypeError: Cannot read properties of undefined (reading '0')
2022-03-02T17:03:49.761855+00:00 app[web.1]: at /app/dist/src/functions/api.functions.js:106:58
2022-03-02T17:03:49.761856+00:00 app[web.1]: at new Promise ()
2022-03-02T17:03:49.761856+00:00 app[web.1]: at Object.makeASCTBData (/app/dist/src/functions/api.functions.js:94:12)
2022-03-02T17:03:49.761857+00:00 app[web.1]: at Object. (/app/dist/src/routes/csv.js:42:40)
2022-03-02T17:03:49.761857+00:00 app[web.1]: at Generator.next ()
2022-03-02T17:03:49.761857+00:00 app[web.1]: at fulfilled (/app/dist/src/routes/csv.js:5:58)
2022-03-02T17:03:49.761857+00:00 app[web.1]: at processTicksAndRejections (node:internal/process/task_queues:96:5)