Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requests.exceptions.HTTPError: 404 Client Error: Not Found for url: #157

Closed
hjanjua opened this issue Feb 2, 2018 · 4 comments
Closed

Comments

@hjanjua
Copy link

hjanjua commented Feb 2, 2018

Getting following error trying to get all members of the list.

Traceback (most recent call last):
File "test.py", line 7, in
client.lists.members.all('75765', get_all=True, fields="members.email_address,members.id")
File "/usr/local/lib/python2.7/dist-packages/mailchimp3/entities/listmembers.py", line 94, in all
return self._iterate(url=self._build_path(list_id, 'members'), **queryparams)
File "/usr/local/lib/python2.7/dist-packages/mailchimp3/baseapi.py", line 59, in _iterate
result = self._mc_client._get(url=url, offset=0, count=5000, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mailchimp3/mailchimpclient.py", line 28, in wrapper
return fn(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mailchimp3/mailchimpclient.py", line 139, in _get
r.raise_for_status()
File "/usr/local/lib/python2.7/dist-packages/requests-2.18.4-py2.7.egg/requests/models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://us17.api.mailchimp.com/3.0/lists/75765/members?count=5000&fields=members.email_address%2Cmembers.id%2Ctotal_items&offset=0

@charlesthk
Copy link
Member

Hi @hjanjua, thanks for your feedback.

I have tried on an account of mine to reproduce the problem but everything was fine.

Here are my thoughts :

  • Do you still have this issue ?
  • It might be to an unavailability of mailchimp service at that specific time ?

@lamar-frankie
Copy link
Contributor

@charlesthk I would like to contribute to this project. Are there any issues you would like me to work on?

@charlesthk
Copy link
Member

Hi @lamar-frankie, thanks for offering your help. You are very welcome to contribute.

The #158 issue is an important one, your could work on it ? Maybe @stephenross is working on it too ?

Thanks.

@lamar-frankie
Copy link
Contributor

@charlesthk Also, It looks like you're doing manual deployments. When I finish with this bug maybe we can discuss some continuous integration options. I'd be happy to help with that also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants