Skip to main content The Trailblazer Community will be unavailable from 2/1/2025 to 2/2/2025. Please plan your activities accordingly.
error

We made a wrong turn. Try again.

Hi I have come across the below error, using JavaScript in Button.

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 Salesforce Support.

 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. 

Thank you again for your patience and assistance. And thanks for using salesforce.com

Error ID: 1652772134-27944 (-1092651723)

 

{!REQUIRESCRIPT("/soap/ajax/15.0/connection.js")}

{!REQUIRESCRIPT("/soap/ajax/15.0/apex.js")}

var r = "{!Opportunity.Opportunity_Product_Count__c}";

var oppid = "{!Opportunity.Id}";

 

if(r == 1 )

{        

                    window.location.href='/apex/VFPageName?id='+oppid;

}

else

{

    alert ("No Products exists !");

Please help me out with alternative solution ASAP
1 answer
  1. Jan 7, 2017, 1:25 PM
    Even I came across simillar issue in past, this has to be resolved by contacting salesforce support team.

    Please let us know if any alternavite way can be used to fix this.
0/9000