title: UpdateRecurringPaymentsProfile + Authentication/Authorization Failed
body: <p>I am try to make a request <code>UpdateRecurringPaymentsProfile</code> in Paypal using <code>HttpWebRequest</code> in </p>
  
  <p>MVC webapplication. But a problem occurred while processing this request. </p>
  
  <p>Please see my below result.</p>
  
  <blockquote>
    <p>TIMESTAMP=2015-08-19T12:07:38Z&amp;CORRELATIONID=c803523ed08bf&amp;ACK=Failure&amp;VERSION=0.000000&amp;BUILD=000000&amp;L_ERRORCODE0=10002&amp;L_SHORTMESSAGE0=Authentication/Authorization Failed&amp;L_LONGMESSAGE0=You do not have permissions to make this API call&amp;L_SEVERITYCODE0=Error</p>
  </blockquote>
  
  <pre><code>HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://api-3t.sandbox.paypal.com/nvp");
  
          request.Method = "POST";
  
          string formContent =
                  "&amp;METHOD=UpdateRecurringPaymentsProfile" +
                  "&amp;PROFILEID=" + HttpContext.Current.Session["profileid"] +
                  "&amp;AMT=" + amt +
                  "&amp;CURRENCYCODE=" + currencycode +
                  "&amp;ACCT" + acct +
                  "&amp;FIRSTNAME=" + firstname +
                  "&amp;LASTNAME=" + lastname +
                  "&amp;STREET=" + street +
                  "&amp;CITY=" + city +
                  "&amp;STATE=" + state +
                  "&amp;COUNTRYCODE=" + countrycode +
                  "&amp;ZIP=" + zip;
  
          byte[] byteArray = System.Text.Encoding.UTF8.GetBytes(formContent);
          request.ContentType = "application/x-www-form-urlencoded";
          request.ContentLength = byteArray.Length;
          System.IO.Stream dataStream = request.GetRequestStream();
          dataStream.Write(byteArray, 0, byteArray.Length);
          dataStream.Close();
          WebResponse response = request.GetResponse();
          dataStream = response.GetResponseStream();
          System.IO.StreamReader reader = new System.IO.StreamReader(dataStream);
  
          string responseFromServer = System.Web.HttpUtility.UrlDecode(reader.ReadToEnd());
  
          reader.Close();
          dataStream.Close();
          response.Close();
  </code></pre>
  
  <p>I am already made <code>CreateRecurringPaymentsProfile</code> command successfully.</p>