Skip to content

500 Error #176

@mfaraji

Description

@mfaraji

I have tried the sample codes "get_first_party_audience_segments" and "get_all_users" with oauth2 token, and I receive 500 errors all the time:

Traceback (most recent call last): File "audience.py", line 78, in <module> get_all_users(dfp_client) File "audience.py", line 60, in get_all_users response = user_service.getUsersByStatement(statement.ToStatement()) File "/home/ubuntu/venv/local/lib/python2.7/site-packages/googleads/common.py", line 700, in MakeSoapRequest *[_PackForSuds(arg, self.suds_client.factory) for arg in args]) File "/home/ubuntu/venv/local/lib/python2.7/site-packages/suds/client.py", line 521, in __call__ return client.invoke(args, kwargs) File "/home/ubuntu/venv/local/lib/python2.7/site-packages/suds/client.py", line 581, in invoke result = self.send(soapenv) File "/home/ubuntu/venv/local/lib/python2.7/site-packages/suds/client.py", line 613, in send reply = self.options.transport.send(request) File "/home/ubuntu/venv/local/lib/python2.7/site-packages/googleads/util.py", line 98, in PatchedHttpTransportSend fp = self.u2open(u2request) File "/home/ubuntu/venv/local/lib/python2.7/site-packages/suds/transport/http.py", line 132, in u2open return url.open(u2request, timeout=tm) File "/usr/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 448, in error return self._call_chain(*args) File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 500: Internal Server Error

I have not changed the code at all.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions