Shayan Nathan
10/23/2023, 3:22 PMkapa.ai
10/23/2023, 3:22 PMLOG_CONNECTOR_MESSAGES=true to log the messages the Airbyte platform receives from the source and destination. This can be done from your local airbyte-platform repository. Here is an example of how to use it: LOG_CONNECTOR_MESSAGES=true VERSION=dev docker compose up This command will start the Airbyte platform with logging enabled for connector messages. For more details, you can refer to the [Airbyte documentation](https://docs.airbyte.com/contributing-to-airbyte/resources/developing-locally).Shayan Nathan
10/23/2023, 3:48 PMkapa.ai
10/23/2023, 3:49 PMkapa.ai
10/23/2023, 3:49 PMrequest_method property in your stream class. By default, it uses the GET method, but you can change it to POST or any other HTTP method as per your requirements. Here is a basic example of how you can do it: python class MyStream(HttpStream): ... @property def request_method(self) -> str: """ Override this method if your HTTP requests use a method other than GET. """ return "POST" ... In the MyStream class, the request_method property is overridden to return "POST", which means that this stream will use the POST method for HTTP requests. For more details, you can refer to the [Airbyte documentation](https://docs.airbyte.com/connector-development/cdk-python/http-streams).Shayan Nathan
10/23/2023, 4:11 PMkapa.ai
10/23/2023, 4:11 PMkapa.ai
10/23/2023, 4:12 PMLOG_LEVEL environment variable to DEBUG when starting Airbyte. This will log all HTTP requests and responses, including their bodies, which can help you identify what's causing the 400 error. Here is an example of how to use it: bash LOG_LEVEL=DEBUG VERSION=dev docker compose up This command will start Airbyte with debug-level logging enabled. Please note that enabling debug logging will significantly increase the amount of log output, so it's recommended to use it only for debugging purposes. For more details, you can refer to the [Airbyte documentation](https://docs.airbyte.com/contributing-to-airbyte/resources/developing-locally).