Bug: Error message should be more readable #7817
Labels
area/connectors
Connector related issues
priority/high
High priority
type/bug
Something isn't working
Update the Error Message to more readable for user.

Enviroment
Current Behavior
Start Date: 2021-11-01T00:00:00Z
On Setup source button press the Error message is "The connection tests failed. 'StopIteration()'"
Expected Behavior
Put the Error message which explains to user that the date they selected is not valid.
Logs
Check connection:
{status: "failed", message: "'StopIteration()'",…}
jobInfo: {id: "c4d1a8c3-fa7b-4cb8-ae0b-618f42edfbf2", configType: "check_connection_source",…}
configId: "Optional[badc5925-0485-42be-8caa-b34096cb71b5]"
configType: "check_connection_source"
createdAt: 1636553557791
endedAt: 1636553559615
id: "c4d1a8c3-fa7b-4cb8-ae0b-618f42edfbf2"
logs: {logLines: [,…]}
logLines: [,…]
0: "2021-11-10 14:12:37 INFO () TemporalAttemptExecution(get):116 - Executing worker wrapper. Airbyte version: dev"
1: "2021-11-10 14:12:37 INFO () LineGobbler(voidCall):82 - Checking if airbyte/source-surveymonkey:0.1.3 exists..."
2: "2021-11-10 14:12:37 INFO () LineGobbler(voidCall):82 - airbyte/source-surveymonkey:0.1.3 was found locally."
3: "2021-11-10 14:12:37 INFO () DockerProcessFactory(create):127 - Preparing command: docker run --rm --init -i -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -w /data/f8df86ef-9306-43d5-bcaf-33e855c152f6/0 --network host --log-driver none airbyte/source-surveymonkey:0.1.3 check --config source_config.json"
4: "2021-11-10 14:12:39 ERROR () DefaultAirbyteStreamFactory(internalLog):95 - Check failed"
5: "2021-11-10 14:12:39 INFO () TemporalAttemptExecution(get):137 - Stopping cancellation check scheduling..."
succeeded: true
message: "'StopIteration()'"
status: "failed"
Steps to Reproduce
The text was updated successfully, but these errors were encountered: