API Error : undefined INFO Env: dev db: iot_bus_serverless

0

Hello Dears,

I have a database (mysql aroura) is connected to lambda function, that get the data from database and calculate some functions,

Also have API is connected to lambda function.

When I try to test the API, it gives me the error :

2022-04-11T17:03:41.088+03:00

Copy 2022-04-11T14:03:41.088Z 3f4e3132-b311-4c58-a141-ef31a411b173 INFO TypeError: Cannot read property 'location' of null at Runtime.getBusesStationEtaData [as handler] (/var/task/controllers/trackingController.js:392:16) at Runtime.handleOnce (/var/runtime/Runtime.js:66:25) 2022-04-11T14:03:41.088Z 3f4e3132-b311-4c58-a141-ef31a411b173 INFO TypeError: Cannot read property 'location' of null at Runtime.getBusesStationEtaData [as handler] (/var/task/controllers/trackingController.js:392:16) at Runtime.handleOnce (/var/runtime/Runtime.js:66:25)

undefined INFO Env: dev db: iot_bus_serverless

Can you please help ?

Thanks!

沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南