Start a new topic

scrapinghub.legacy.APIError: project: non_field_errors

 Hello
Does anyone meet this error and know how to deal with it?

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/scrapinghub/client/exceptions.py", line 69, in wrapped
    return method(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/scrapinghub/client/__init__.py", line 19, in _request
    return super(Connection, self)._request(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/scrapinghub/legacy.py", line 143, in _request
    return self._decode_response(response, format, raw)
  File "/usr/local/lib/python3.7/site-packages/scrapinghub/legacy.py", line 165, in _decode_response
    _type=APIError.ERR_BAD_REQUEST)
scrapinghub.legacy.APIError: project: non_field_errors

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "mp_import/products_spiders/testsh.py", line 4, in <module>
    project.jobs.run('1stdibs', job_args={'username': 'info@tomrobinsonmodern.com','password': 'TWR5929b','import_id': '89b2039e-cc37-11ea-8a1d-0242c0a8f003'})
  File "/usr/local/lib/python3.7/site-packages/scrapinghub/client/jobs.py", line 298, in run
    response = self._client._connection._post('run', 'json', params)
  File "/usr/local/lib/python3.7/site-packages/scrapinghub/legacy.py", line 120, in _post
    return self._request(url, params, headers, format, raw, files)
  File "/usr/local/lib/python3.7/site-packages/scrapinghub/client/exceptions.py", line 94, in wrapped
    raise BadRequest(msg)
scrapinghub.client.exceptions.BadRequest: project: non_field_errors

 

Login to post a comment