• demo striim
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
Hi, everyone
I am doing an http request to get an access token by providing username ,password+securitytoken,clientid and client secret.
when i am keeping my password without '%' character,I get an json object in return and i can retrieve access token from there.
But when i am keeping my password containing '%', i donot get any access token,instead i get following response from salesforce:
HttpResponseProxy{HTTP/1.1 500 Server Error [Set-Cookie: BrowserId=xsLele0JRxq3iMSEHJEOfQ;Path=/;Domain=.salesforce.com;Expires=Sun, 06-May-2018 08:52:16 GMT;Max-Age=5184000, Strict-Transport-Security: max-age=31536000; includeSubDomains, X-Content-Type-Options: nosniff, X-XSS-Protection: 1; mode=block, Content-Security-Policy: upgrade-insecure-requests , Cache-Control: no-cache,must-revalidate,max-age=0,no-store,private, Content-Type: text/html; charset=UTF-8, Connection: close] ResponseEntityProxy{[Content-Type: text/html; charset=UTF-8,Chunked: false]}}

<html>
<head><title>An internal server error has occurred</title></head>
<body>


<div style="display:none;" id="errorTitle">An internal server error has occurred</div>
<div style="display:none;" id="errorDesc">An error has occurred while processing your request. The salesforce.com support team has been notified of the problem. If you believe you have additional information that may be of help in reproducing or correcting the error, please contact <a href="https://help.salesforce.com/apex/hthome">Salesforce Support</a>. Please indicate the URL of the page you were requesting, any error id shown on this page as well as any other related information. We apologize for the inconvenience. <br/><br/>Thank you again for your patience and assistance. And thanks for using salesforce.com!</div>
<table cellspacing=10>
<tr><td><span style="font-weight: bold; font-size: 12pt;">An internal server error has occurred</span></td></tr>
<tr><td>
An error has occurred while processing your request. The salesforce.com support team has been notified of the problem. If you believe you have additional information that may be of help in reproducing or correcting the error, please contact <a href="https://help.salesforce.com/apex/hthome">Salesforce Support</a>. Please indicate the URL of the page you were requesting, any error id shown on this page as well as any other related information. We apologize for the inconvenience. <br/><br/>Thank you again for your patience and assistance. And thanks for using salesforce.com!
<br><br>
Error ID: 918501765-6908 (790378106)
</td>
</tr>
<tr><td>
<br clear="all"><br><br>


</td></tr>
</table>

</td></tr>
</table>



</body>
</html> 


If someone has faced this issue. Then kindly share the solution.Thanks for you time .
can some one please tell me,I am trying to write a JAVA code to export data from salesforce using bulk api but i am not getting any idea like, in this case  how to create multiple batch in a job using Bulk api 
Hi, everyone
I am doing an http request to get an access token by providing username ,password+securitytoken,clientid and client secret.
when i am keeping my password without '%' character,I get an json object in return and i can retrieve access token from there.
But when i am keeping my password containing '%', i donot get any access token,instead i get following response from salesforce:
HttpResponseProxy{HTTP/1.1 500 Server Error [Set-Cookie: BrowserId=xsLele0JRxq3iMSEHJEOfQ;Path=/;Domain=.salesforce.com;Expires=Sun, 06-May-2018 08:52:16 GMT;Max-Age=5184000, Strict-Transport-Security: max-age=31536000; includeSubDomains, X-Content-Type-Options: nosniff, X-XSS-Protection: 1; mode=block, Content-Security-Policy: upgrade-insecure-requests , Cache-Control: no-cache,must-revalidate,max-age=0,no-store,private, Content-Type: text/html; charset=UTF-8, Connection: close] ResponseEntityProxy{[Content-Type: text/html; charset=UTF-8,Chunked: false]}}

<html>
<head><title>An internal server error has occurred</title></head>
<body>


<div style="display:none;" id="errorTitle">An internal server error has occurred</div>
<div style="display:none;" id="errorDesc">An error has occurred while processing your request. The salesforce.com support team has been notified of the problem. If you believe you have additional information that may be of help in reproducing or correcting the error, please contact <a href="https://help.salesforce.com/apex/hthome">Salesforce Support</a>. Please indicate the URL of the page you were requesting, any error id shown on this page as well as any other related information. We apologize for the inconvenience. <br/><br/>Thank you again for your patience and assistance. And thanks for using salesforce.com!</div>
<table cellspacing=10>
<tr><td><span style="font-weight: bold; font-size: 12pt;">An internal server error has occurred</span></td></tr>
<tr><td>
An error has occurred while processing your request. The salesforce.com support team has been notified of the problem. If you believe you have additional information that may be of help in reproducing or correcting the error, please contact <a href="https://help.salesforce.com/apex/hthome">Salesforce Support</a>. Please indicate the URL of the page you were requesting, any error id shown on this page as well as any other related information. We apologize for the inconvenience. <br/><br/>Thank you again for your patience and assistance. And thanks for using salesforce.com!
<br><br>
Error ID: 918501765-6908 (790378106)
</td>
</tr>
<tr><td>
<br clear="all"><br><br>


</td></tr>
</table>

</td></tr>
</table>



</body>
</html> 


If someone has faced this issue. Then kindly share the solution.Thanks for you time .