Fetching Sync Keys

Partha Debnath partha.dn at samsung.com
Thu Aug 7 04:35:05 PDT 2014


Hello All,

 

I have implemented FxAccountClient login in C++ and 

I am able to get the response from server. The format 

of the response is given below:

{"uid":"419fbaeba5514108a0560c85a61b6058",

"sessionToken":"6c5504e5316339b9d2307e4fa5855468671aa16a79ea6cce775e1ab5bdbf
7ca7",

"keyFetchToken":"66ba00c4c1cd931d32393acda76c16ef1f17e9276287cba91303862a17b
6011f",

"verified":true,

"authAt":1403498957}

 

Now for fetching sync keys, I have implemented HAWK and

have added the hawk id  in the header part of  HTTP GET request to 

https://api.accounts.firefox.com/v1/account/keys/.

 

The format of this header is given below:

Authorization: Hawk
id="b5206ff2fff8dc820e7d79619d4667e025cc7f2408b39aefcb79d81feda72df0",
ts="1407214856", nonce="6d+eTkvVMxs=",
mac="nB9QStgea9a68ChtPFYWgsFl1NoTTobKFurtaLtfGwo="

Now, after  sending this request to Firefox sync server I am getting an

error message given below:

{"code":404,"errno":999,"error":"Not Found","message":"Unspecified
error","info":"https://github.com/mozilla/fxa-auth-server/blob/master/docs/a
pi.md#response-format"}

 

Could anyone help me in finding the cause of this error.

 

 

Regards,

Partha Debnath

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/dev-fxacct/attachments/20140807/eb23896d/attachment.html>


More information about the Dev-fxacct mailing list