0 Replies Latest reply on May 22, 2013 1:13 AM by 7siss7

    Hmac sha1 signature generation error.

    7siss7

      I'm using Flex Builder 4 for accessing cloudstack api and for getting responses. When i execute my flex program, the url is generated with commands, api and the signature. But the Xml is showing an error as below:

       

      <?xml version="1.0" encoding="UTF-8"?>

      -<listzonesresponse cloud-stack-version="4.0.1.20130201075054">

      <errorcode>401</errorcode><errortext>unable to verify user credentials and/or request signature

      </errortext></listzonesresponse>

       

      Is it the problem of encoding signature.? I'm using Hmac Sha1. When i did the process in python i got the output as list of zones. 

       

      Can anyone help me to correct the error?

       

       

      Thanks in advance!