Closed asinha3-chwy closed 10 months ago
Hrm. Must be something non-standard/expected in the record that's tripping things up, or NS1 has changed something. It's likely going to require a bit of manual poking around to figure out what's up with the record.
Can you try adding the following around line 739 of ../venv/lib/python3.11/site-packages/octodns_ns1/__init__.py
, just before the exception:
from pprint import pprint
pprint(record)
That dump of the record details (feel free to replace any sensitive names) should help to figure out what's up and what needs changed.
This is what the short answer look like. Data is randomly generated
'short_answers': ['k=rsa; '
'p=crcv8e0nsqwghckdsqjimxse0557s4zv86i9y37m0jrof77czjoi4tsnf2q68ulnjz36gegabn4c5o9i5qqlnqfe3skrsahn9q1w1ropq0vh0pbx8y0qd03ucmwidn4uo4yn9bjqcf6yoyo69zo2i1bpfc6kfgvdsnkdzkoim3nyvu01dqolywethpp1wo429p0g70zg5n9ezzi1y8g234j1;']
Hrm. Was that the last one printed right before the exception? Since that's a short_answers
key and value I'm guessing it's not the one causing the exception. Sorry wasn't explicit about the last one part. Will also need the other data from the record dump as it may provide clues as to what's up.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Hello,
Getting
KeyError
when using octodns-dump to import records from NS1