Skip to content

Instantly share code, notes, and snippets.

@wpride
Created January 11, 2018 20:35
Show Gist options
  • Save wpride/b01395de10af451e949c86d4c784dc19 to your computer and use it in GitHub Desktop.
Save wpride/b01395de10af451e949c86d4c784dc19 to your computer and use it in GitHub Desktop.
SMS test error
2018-01-11 20:28:40,602 ERROR Internal Server Error: /a/test-domain/cloudcare/api/cases/
Traceback (most recent call last):
File "/Users/willpride/.virtualenvs/cchq/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/Users/willpride/.virtualenvs/cchq/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/Users/willpride/.virtualenvs/cchq/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/willpride/Dimagi/commcare-hq/corehq/apps/domain/decorators.py", line 205, in safe_fn
return _inner(request, domain, *args, **kwargs)
File "/Users/willpride/Dimagi/commcare-hq/corehq/apps/domain/decorators.py", line 353, in _inner
return fn(request, *args, **kwargs)
File "<decorator-gen-10>", line 2, in _inner
File "/Users/willpride/Dimagi/commcare-hq/submodules/django-digest-src/django_digest/decorators.py", line 24, in _httpdigest
response = f(*args, **kwargs)
File "/Users/willpride/Dimagi/commcare-hq/corehq/apps/domain/decorators.py", line 283, in _inner
return fn(request, domain, *args, **kwargs)
File "/Users/willpride/Dimagi/commcare-hq/corehq/apps/domain/decorators.py", line 201, in _inner
return fn(request, domain, *args, **kwargs)
File "/Users/willpride/Dimagi/commcare-hq/corehq/apps/cloudcare/views.py", line 448, in get_cases
case = accessor.get_case(case_id)
File "/Users/willpride/Dimagi/commcare-hq/corehq/form_processor/interfaces/dbaccessors.py", line 307, in get_case
return self.db_accessor.get_case(case_id)
File "/Users/willpride/Dimagi/commcare-hq/corehq/form_processor/backends/couch/dbaccessors.py", line 134, in get_case
return CommCareCase.get(case_id)
File "/Users/willpride/Dimagi/commcare-hq/corehq/ex-submodules/casexml/apps/case/models.py", line 336, in get
raise CaseNotFound
CaseNotFound: {'msg': '', 'status_int': None, 'response': None}
2018-01-11 20:28:40,819 ERROR "GET /a/test-domain/cloudcare/api/cases/?case_id=2ffc3a4f333a4175b6fbd7849457ebf4 HTTP/1.1" 500 263785
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment