cheeaun / cheeaun/json-lipsum

call to api returns 500 http response

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
Calling the API returns a 500 HTTP response, example:

http://json-lipsum.appspot.com/?amount=40&what=words&start=no

gives python error

Traceback (most recent call last):
File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 714, in __call__
handler.get(*groups)
File "/base/data/home/apps/json-lipsum/1.330198243024643966/main.py", line 56, in get
dom = parseString(result.content)
File "/base/data/home/runtimes/python/python_dist/lib/python2.5/xml/dom/minidom.py", line 1923, in parseString
return expatbuilder.parseString(string)
File "/base/data/home/runtimes/python/python_dist/lib/python2.5/xml/dom/expatbuilder.py", line 940, in parseString
return builder.parseString(string)
File "/base/data/home/runtimes/python/python_dist/lib/python2.5/xml/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
ExpatError: no element found: line 1, column 0
```

Original issue reported on code.google.com by `cwilb...@gmail.com` on 21 Mar 2014 at 9:23

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.