<div dir="ltr">I know I have seen this error in the past and have resolved it. However, I am back in this situation and cannot recall the cause or resolution. Any help would be greatly appreciated.<div><br></div><div>







<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="middle" class="">
<p class="">=ERROR REPORT==== 9-Jan-2015::14:57:09 ===</p>
<p class="">Unable to complete Request: badarg</p>
<p class=""><br></p>
<p class="">Request Dump:</p>
<p class="">{mochiweb_request,</p>
<p class="">    [{method,'POST'},</p>
<p class="">    {version,{1,1}},</p>
<p class="">    {raw_path,"/v1/message"},</p>
<p class="">    {headers,</p>
<p class="">        [{'Connection',"Keep-Alive"},</p>
<p class="">          {'Content-Length',"277"},</p>
<p class="">          {'Content-Type',</p>
<p class="">              "application/x-www-form-urlencoded; charset=US-ASCII"},</p>
<p class="">          {'Host',"<a href="http://10.180.121.59:4778">10.180.121.59:4778</a>"},</p>
<p class="">          {'User-Agent',"Apache-HttpClient/4.2.6 (java 1.5)"}]}]}</p>
<p class=""><br></p>
<p class="">Stack Trace:</p>
<p class="">[{omac1,pad_binary_128,1,[{file,"src/omac1.erl"},{line,73}]},</p>
<p class="">{omac1,cmac_aes_cbc_128,6,[{file,"src/omac1.erl"},{line,66}]},</p>
<p class="">{pe_util,create_signature,3,[{file,"src/pe_util.erl"},{line,105}]},</p>
<p class="">{pe_util,verify_signature,4,[{file,"src/pe_util.erl"},{line,109}]},</p>
<p class="">{pe_auth,authenticate,5,[{file,"src/pe_auth.erl"},{line,50}]},</p>
<p class="">{pe_rest,intake_post,12,[{file,"src/pe_rest.erl"},{line,603}]},</p>
<p class="">{pe_rest,handle_request,2,[{file,"src/pe_rest.erl"},{line,136}]},</p>
<p class="">{pe_rest,'-start_link/0-fun-0-',1,[{file,"src/pe_rest.erl"},{line,23}]}]</p><p class=""><br></p><p class="">Best regards.</p>
</td>
</tr>
</tbody>
</table></div></div>