Hey everyone - I seem to be running into an error ...
# troubleshooting
i
Hey everyone - I seem to be running into an error with this stream after authorization. It's doing a full_table sync of the stream and I currently don't have state declared anywhere. Is that what may be causing the failure? After this failure it keeps retrying and failing with the same info
Copy code
2024-02-12T20:23:51.636864Z [info     ] Environment 'test' is active
2024-02-12T20:23:51.800046Z [warning  ] No state was found, complete import.
2024-02-12T20:23:53.387048Z [info     ] Could not append type because the JSON schema for the dictionary `{'oneOf': [{'type': ['number']}, {'type': ['string']}, {'type': ['boolean']}]}` appears to be invalid. cmd_type=elb consumer=False name=tap-jobdiva producer=True stdio=stderr string_id=tap-jobdiva
2024-02-12T20:23:53.388015Z [info     ] Could not append type because the JSON schema for the dictionary `{'oneOf': [{'type': ['string']}, {'type': 'array', 'items': {'type': ['string']}}]}` appears to be invalid. cmd_type=elb consumer=False name=tap-jobdiva producer=True stdio=stderr string_id=tap-jobdiva
2024-02-12T20:23:53.444972Z [info     ] 2024-02-12 15:23:53,443 | INFO     | tap-jobdiva.NewUpdatedCandidateRecordsStream | Beginning full_table sync of 'NewUpdatedCandidateRecordsStream'... cmd_type=elb consumer=False name=tap-jobdiva producer=True stdio=stderr string_id=tap-jobdiva
2024-02-12T20:23:53.455398Z [info     ] 2024-02-12 15:23:53,444 | INFO     | tap-jobdiva.NewUpdatedCandidateRecordsStream | Tap has custom mapper. Using 1 provided map(s). cmd_type=elb consumer=False name=tap-jobdiva producer=True stdio=stderr string_id=tap-jobdiva
2024-02-12T20:23:53.659657Z [info     ] 2024-02-12 15:23:53,659 | INFO     | tap-jobdiva.NewUpdatedCandidateRecordsStream | OAuth authorization attempt was successful. cmd_type=elb consumer=False name=tap-jobdiva producer=True stdio=stderr string_id=tap-jobdiva
2024-02-12T20:23:53.816036Z [info     ] 2024-02-12 15:23:53,816 | INFO     | singer_sdk.metrics   | METRIC: {"type": "timer", "metric": "http_request_duration", "value": 0.154599, "tags": {"stream": "NewUpdatedCandidateRecordsStream", "endpoint": "bi/NewUpdatedCandidateRecords", "http_status_code": 500, "status": "failed"}} cmd_type=elb consumer=False name=tap-jobdiva producer=True stdio=stderr string_id=tap-jobdiva
2024-02-12T20:23:53.816921Z [info     ] 2024-02-12 15:23:53,816 | INFO     | backoff              | Backing off _request(...) for 2.7s (singer_sdk.exceptions.RetriableAPIError: 500 Server Error:  for path: /apiv2/bi/NewUpdatedCandidateRecords) cmd_type=elb consumer=False name=tap-jobdiva producer=True stdio=stderr string_id=tap-jobdiva
2024-02-12T20:23:53.817997Z [info     ] 2024-02-12 15:23:53,816 | ERROR    | root                 | Backing off 2.73 seconds after 1 tries calling function <bound method RESTStream._request of <tap_jobdiva.streams.NewUpdatedCandidateRecordsStream object at 0x000002AF0AAF3F70>> with args (<PreparedRequest [GET]>, None) and kwargs {} cmd_type=elb consumer=False name=tap-jobdiva producer=True stdio=stderr string_id=tap-jobdiva
1
v
500 is normally a server error, but I'd want to see the content of that request to see if there's data there that might be helpful
i
It ended up being incorrect formatting with my parameters
1
👍 1