X_SCRAPE_RECOVER_REFUSED
Means
the recovery hook declined to recover this failure
Typical cause
terminal. recover() was declared and returned no strategy for this failure, so the original failure stands and the run ends where the hook left it
Fix
widen recover() to handle this failure, or drop recover: and let the job's retry policy own it