----- Original Message -----
> Samsung Enterprise Portal mySingle
> 
> Hi,
> 
> 
> 
> I am working to bring up the firefox sync for Samsung's platform Tizen in
> C++.
> 
> 
> 
> When I'm making a post request to
> 
> /v1/certificate/sign
> 
> 
> 
> I am getting, the following error
> 
> 
> 
> {"code":401,"errno":109,"error":"Unauthorized","message":"Payload is
> invalid","info":"https://github.com/mozilla/fxa-auth-server/blob/master/docs/api.md#response-format"}
> 
> 
> 
> On searching online and response format in the link, I am not able to find
> the cause and solution for " Payload is invalid " error message.


The 109 error is "invalid request signature", which means that the Hawk 
authentication goes wrong.

Your problem can be in two places: the content hash or the request signature.

It looks like your code is correct for the content hash is correct.

Did you run your unit tests against the example requests from 
https://github.com/hueniverse/hawk ?

If you are this far then I assume other Hawk GET requests work ok? Do you have 
any other POST requests that work correctly? Is it just /v1/certificate/sign 
that is giving you trouble?

 S.
_______________________________________________
Dev-fxacct mailing list
[email protected]
https://mail.mozilla.org/listinfo/dev-fxacct

Reply via email to