Also an auth-related HTTP 500, but perhaps not for unknwon OAuth token:
ServerError: (500, ('unknown_error', 'badarg'))
Badarg error in HTTP request
Stacktrace: [{erlang,list_to_binary,[undefined]}, {couch_httpd_oauth,set_user_ctx,2}, {couch_httpd,authenticate_request,2}, {couch_httpd,handle_request,5}, {mochiweb_http,headers,5}, {proc_lib,init_p_do_apply,3}]
httpd 500 error response: {darg error in HTTP request"error":"unknown_error","reason":"badarg"}
Also an auth-related HTTP 500, but perhaps not for unknwon OAuth token:
ServerError: (500, ('unknown_error', 'badarg'))
Badarg error in HTTP request
Stacktrace: list_to_ binary, [undefined] },
{ couch_httpd_ oauth,set_ user_ctx, 2},
{ couch_httpd, authenticate_ request, 2},
{ couch_httpd, handle_ request, 5},
{ mochiweb_ http,headers, 5},
{ proc_lib, init_p_ do_apply, 3}]
[{erlang,
httpd 500 error response: error": "unknown_ error", "reason" :"badarg" }
{darg error in HTTP request"