1. if this happens in the first loop, `UnboundLocalError: local variable 'headers' referenced before assignment` 2. `headers` was passed instead of `url`