Skip to content Skip to sidebar Skip to footer

Quickblox Getting A Session Receives "unexpected Signature" Error

When getting a session, I get an 'unexpected error'. Here is my code to get the signature (modified from this since that code is without some imports and notably hmac.new() is used

Solution 1:

Here is my example:

curl -X POST -H "Content-Type: application/json" -H "QuickBlox-REST-API-Version: 0.1.0" -d '{"application_id":"92","auth_key":"wJHdOcQSxXQGWx5","nonce":"315","timestamp":"1375624737","signature":"f36336b8bc8449b8252edbc0ee441cdb5856112c"}' http://api.quickblox.com/session.json

Result:

{"session":{"application_id":92,"created_at":"2013-08-04T13:59:50Z","device_id":null,"id":3553701,"nonce":315,"token":"1d423b6633e2fc82f81d88b65f3e26198853c84c","ts":1375624737,"updated_at":"2013-08-04T13:59:50Z","user_id":null}}

You should check code which generates your signature

Post a Comment for "Quickblox Getting A Session Receives "unexpected Signature" Error"