How do I debug API connection failures in Lambda?

How do I debug API connection failures in Lambda?

You can add some error handling and console logs inside your lambda function. During local dev, these logs can be accessed as the docker logs of the lambda connector. In Hasura Cloud, you can access these logs via CLI

  1. Find the connector build id. Use this command to list the connector builds and find the correct one (The first in the list is the latest build). ddn connector build get --connector-name mydb
  2. Fetch connector logs ddn connector build logs <connector-build-id>