Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example does not run due to FatalAPIError #1

Open
mbode opened this issue Sep 24, 2024 · 0 comments
Open

Example does not run due to FatalAPIError #1

mbode opened this issue Sep 24, 2024 · 0 comments

Comments

@mbode
Copy link

mbode commented Sep 24, 2024

Running

echo '{ "query": "RC=[EST]", "start_date" : "2023-01-01" }' > tap_config_test.json
tap-eu-ted --config tap_config_test.json

leads to

INFO METRIC: {"metric_type": "timer", "metric": "http_request_duration", "value": 0.096531, "tags": {"stream": "documents", "endpoint": "", "http_status_code": 404, "status": "failed"}}

due to

singer_sdk.exceptions.FatalAPIError: b'<html>\n\n\t\t\t<head>\n\t\t\t\t<title></title>\n\n\t\t\t\t<meta content="1; url=/c" http-equiv="refresh" />\n\t\t\t</head>\n\n\t\t\t<body onload="javascript:location.replace(\'\\x2fc\');">\n\n\t\t\t\t<!--\n\t\t\t\tThe numbers below are used to fill up space so that this works properly in IE.\n\t\t\t\tSee http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294807 for more\n\t\t\t\tinformation on why this is necessary.\n\n\t\t\t\t12345678901234567890123456789012345678901234567890123456789012345678901234567890\n\t\t\t\t12345678901234567890123456789012345678901234567890123456789012345678901234567890\n\t\t\t\t12345678901234567890123456789012345678901234567890123456789012345678901234567890\n\t\t\t\t-->\n\t\t\t</body>\n\t\t</html>\n\t'

Am I missing something or has the API changed in an incompatible way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant