Skip to content

Instantly share code, notes, and snippets.

@tofumatt
Created August 11, 2015 13:19
Show Gist options
  • Save tofumatt/5877c7e696d4b3015f2e to your computer and use it in GitHub Desktop.
Save tofumatt/5877c7e696d4b3015f2e to your computer and use it in GitHub Desktop.
django.request:ERROR Internal Server Error: /api/auth/sign-in/ :/opt/rh/python27/root/usr/lib/python2.7/site-packages/django/core/handlers/base.py:256
Traceback (most recent call last):
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/rest_framework/views.py", line 452, in dispatch
response = self.handle_exception(exc)
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/rest_framework/views.py", line 449, in dispatch
response = handler(request, *args, **kwargs)
File "/srv/payments-service/payments_service/auth/views.py", line 49, in post
self.set_up_braintree_customer(buyer)
File "/srv/payments-service/payments_service/auth/views.py", line 103, in set_up_braintree_customer
api.braintree.customer.post({'uuid': buyer['uuid']})
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/curling/lib.py", line 186, in post
headers=headers, params=kwargs)
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/curling/lib.py", line 303, in _request
response=resp, content=self._try_to_serialize_error(resp))
HttpServerError: Server Error 500: http://solitude:2602/braintree/customer/
Content: A server error occurred. Please contact the administrator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment