You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installed and ran meltano select --list --all tap-elasticsearch but I got:
File ".meltano/extractors/tap-elasticsearch/venv/lib/python3.8/site-packages/tap_elasticsearch/tap.py", line 54, in discover_streams
if v["aliases"]:
TypeError: string indices must be integers
Is aliases specific to someone's elasticsearch implementation? Doesn't seem to apply to ours. I do believe I have supplied the correct base_url and that it is actually reaching it but perhaps that could cause this as well? 🤷
UPDATE: Turns out this was caused by an extra / at the end of my base_url. I had to edit the code discover this. The useful error message I got with my tweak was to "print" aliases.values() which gave me this:
dict_values(['Incorrect HTTP method for uri [//_aliases] and method [GET], allowed: [PUT]', 405])
Might be good to put in a try/catch or some other check on aliases to expose error messages like this. Just an idea.
The text was updated successfully, but these errors were encountered:
Installed and ran
meltano select --list --all tap-elasticsearch
but I got:Is
aliases
specific to someone's elasticsearch implementation? Doesn't seem to apply to ours. I do believe I have supplied the correct base_url and that it is actually reaching it but perhaps that could cause this as well? 🤷UPDATE: Turns out this was caused by an extra
/
at the end of my base_url. I had to edit the code discover this. The useful error message I got with my tweak was to "print"aliases.values()
which gave me this:Might be good to put in a try/catch or some other check on
aliases
to expose error messages like this. Just an idea.The text was updated successfully, but these errors were encountered: