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!

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions