Questions tagged [error]
Error - A mistake or Getting unexpected output or Bug
282
questions with no upvoted or accepted answers
14
votes
0
answers
2k
views
Managed Package error "Dependent class is invalid and needs recompilation"
I'm getting an exception email from a client who has installed my Managed Package in his org. The error message I receive is:
Apex script unhandled trigger exception by user/organization:
...
10
votes
1
answer
428
views
$Setup cannot resolve protected setting in managed package after Spring 2020
A custom button in a managed package uses a protected custom setting in the same package to retrieve a namespace:
/apex/{!$Setup.Constants.URL_Namespace__c}PageName?param=value
When installed with ...
9
votes
0
answers
328
views
Managed Package error emails behaviour changed?
I have a First-Generation Managed Package that was updated and released for years. It's current version is 6.0.
I just recent added a User to the Package page to get error notifications as described ...
6
votes
1
answer
2k
views
Error handling when publishing platform events
We are in the process of redesigning our system to use platform events as a replacement of traditional trigger-based approach when all processing happen synchronously sharing single transactional ...
6
votes
0
answers
419
views
No DML_END Issue
Yet another "what gives" question.
I have a custom object that is updated upon a button click on a VisualForce Page.
I can see in my debug logs that the object has been updated. But when I refresh ...
6
votes
2
answers
2k
views
How can we fix the Lightning Component ui:inputDate DatePicker position?
I'm in need of implementing a lightning component that includes ui:inputDate component with displayDatePicker=true.
The component is mainly only for sidebar purposes in Lightning Page. But when I ...
5
votes
0
answers
570
views
Attempted to sync object 00k5b00000OlMOt which was previously synced in this transaction
When clicking "Start Sync" on a Quote under an Opportunity, we get this error:
"Attempted to sync object 00k5b00000OlMOt which was previously synced in this transaction"
The ...
5
votes
0
answers
188
views
Postinstallscript fails to insert child records
I have a post install script that executes after the package has been installed and it worked perfectly. But recently it had to be changed to include some dummy data as an example. So I added the code ...
5
votes
0
answers
2k
views
Error: Request Entity Too Large: head - Any Suggestions?
I am creating my Data Model - Created one Custom Object with around 400 fields and 15-20 Validation Rules on it.
Now, When I am trying to add more Validation Rules - It is giving me following error ...
4
votes
0
answers
2k
views
"Disconnected or Canceled" Error when calling apex method from lightning component action
When calling an apex method from lightning component, especifically with one record we are getting "Disconnected or Canceled" error.
The actions is failing before leaving component and never gets to ...
4
votes
0
answers
125
views
Batch Apex: Invalid field StageName for OpportunityHistory
In my SalesForce managed package I have a Batch Apex job that queries OpportunityHistory and does some post-processing (basically serialize them and posts to external Web Service)
When I schedule and ...
4
votes
2
answers
273
views
controller extension not found
I created a controller extension for the Contact object. I don't know if it will work or not, because I can not test it. Salesforce is acting like my controller extension does not exist.
Error: ...
3
votes
0
answers
298
views
Recalculate formula field in unit test code
While trying to recalculate a formula field "cross-object" i came across this weird error.
Code to reproduce:
Product2 product = new Product2(
ProductCode = 'CODE1',
// ...
3
votes
0
answers
505
views
Why Apexaction flow setoutput variable not showing from apex class
I Want to set output values in flow from apex action.
Below mentioned im getting oppId as input values from apex class.
public class flowinputs{
@invocableVariable public String oppId;
...
3
votes
0
answers
1k
views
How to resolve "Page not available" error in community
I am getting "Page not available" error while opening a community page containing a specific lightning(aura) component in one of our implementation. The error screen is attached below. **URL: ** https:...
3
votes
0
answers
128
views
How to export data tree using SFDX with User object lookup field
I've a custom object with a custom User lookup field. When I use force:data:tree:export command results into following errors:
Reference User not found for UserLookupField__c. Skipping record
...
3
votes
0
answers
440
views
Has anyone else seen the issue of Lightning Component, if updated to version 41.0, changes the Component Label by appending namespace
No COMPONENT named markup://namespace:namespace_MyComponent found
This error pop up after I updated my Lightning Component to API version 41.0, and the error comes when the component has a dedicated ...
3
votes
0
answers
987
views
The page you submitted was invalid for your session Error
After reviewing all other posts related to this error I could find on stackexchange and on other salesforce forums I still couldn't find any similar scenario to mine.
Exact Error :
The page you ...
3
votes
0
answers
819
views
Javascript custom button stopped working, Synchronous XMLHttpRequest is deprecated
We have a custom javascript button on the quotes object in our org that has been working for several months that someone has noticed today is not working.
I'm not sure if there was an update that ...
3
votes
0
answers
759
views
what does "invalid_grant" error with "inactive user" description mean?
The title is pretty much the whole question, I have seen the "invalid_grant" error in the Oauth2 flow alot of times and the description is always "expired access/refresh token" just like the webpage ...
3
votes
0
answers
400
views
ORA-00904 Is this a platform bug?
Since the recent update to our sandbox (2015-09-12) I have a unit test that is failing where previously it worked.
I've isolated it to the following condensed example...
Within the Developer Console>...
2
votes
0
answers
330
views
Unable to resolve Experience Site CSP Errors in sandbox
I'm not sure what has changed in Experience Cloud but suddenly I'm getting CSP errors for some images that I'm linking to in an HTML component. I'm struggling to resolve these errors and get the ...
2
votes
0
answers
4k
views
Quick Action: You can't perform this action on this page
Since Spring22 upgrade, a strange behaviour has been observed and despite our investigation, we have not found the solution yet.
When we click on a custom Quick Action on some Accounts (and only on ...
2
votes
0
answers
2k
views
Deploying Experience site fails due to 'The value for urlPathPrefix in ExperienceBundle isn't valid. Check the value and try again.'
I am trying to deploy my Experience site to production with a change set, however I keep hitting
The value for urlPathPrefix in ExperienceBundle isn't valid. Check the value and try again.
Even though ...
2
votes
0
answers
933
views
Aura component unable to find apex controller method
This problem is going on and on on my orgs.
I use VS code as my IDE and whenever I deploy a freshly written @AuraEnabled method in a controller, for some time my org does not seem to recognize it. I ...
2
votes
0
answers
64
views
Fail to make DML or send emails from License Trigger
We are having a problem when the LMA process updates a license that we are not able to figure out.
We have an after update/insert trigger on sfLma__License__c which among other things updates Accounts ...
2
votes
0
answers
869
views
Publishing community with sfdx force:community:publish - Error: 'The requested resource does not exist'
My team and I are setting up our build pipeline, such that after we deploy our community to an environment, we follow up with running the publish command, to ensure all changes go live. We run this ...
2
votes
1
answer
113
views
Invalid number error on VisualForce page apex inputField
After the Winter 21 update I've come across an issue in a clients environment where when entering a negative value into an apex input field returns an invalid number error. The debug log prints '|...
2
votes
1
answer
82
views
Error with Salesforce site after making changes to the VF code
The Visualforce page works fine when I preview it but when I add the VF page to a site it gives me the below error. I checked the public access settings and it looks fine. All the objects have CRED ...
2
votes
1
answer
259
views
Auth errors and callout errors in Scratch org
I have an app that makes API Rest calls to my cratch org. Till yesterday everything was working fine.
Yesterday I have configured scheduled apex class job to run in the night.
But when checked the ...
2
votes
1
answer
587
views
How can 'RaiseError' and 'InsertDE' AMPscript functions be used to catch ANY error in a Triggered Send?
We currently have a Triggered Send Definition that is encountering errors occasionally and preventing further emails from sending. Marketing Cloud support has been able to provide some error messages, ...
2
votes
1
answer
40
views
Lightning component docs are not avialbe
Why every lightning document that I'm trying to open give me the next error :
Example Urls:
https://developer.salesforce.com/docs/component-library/bundle/lightning:card
Actually all the next ...
2
votes
1
answer
2k
views
How to customise community generic error pages
I have a community using URL:
https://xxx-mydomain.cs83.force.com/community/s/
When I remove the /community/s/ I get a salesforce branded error page.
I want the generic Salesforce error page to be ...
2
votes
0
answers
5k
views
Workbench error
When the use the following query:
SELECT Id,Name,Status_vod__c FROM Call2_vod__c
WHERE Status_vod__c = 'Submitted_vod' and LastModifiedDate<= 2017-03-31T23:59:00Z
I get the following error ...
2
votes
1
answer
231
views
Dynamic sObject Lookup field throws "SObject row does not allow errors" if lookup is entered record name that do not exist in org
Feels like I'm not having a good day at all with platform :-) ... another day and another issue with platform dynamic sObjects :(
So I'm trying to create an sObject record dynamically from a VF page. ...
2
votes
0
answers
257
views
AMPScript Function UpdateSingleSalesforceObject Failure returning e500 instead of 0
I am working on a custom email preferences page and trying to handle a failure when AMPScript is attempting to update a salesforce record. The documentation states that failure will return a value of ...
2
votes
0
answers
3k
views
Salesforce Communities: Self Register Error
We want to enable users to self register to the community but this error is displayed upon clicking the Sign Up button:
Your request cannot be processed at this time. The site administrator
has ...
2
votes
0
answers
821
views
Problems with deserializing JSON to class
I have created a parser class to parse some JSON into an object. This is accessible as a REST based service.
This is the class I parse to:
global class statParser {
global class Request {
...
2
votes
0
answers
1k
views
Error: failed to send request to https://test.salesforce.com**** when using Talend
I am trying to upload attachments (more than 500 attachments) from talend to Salesforce, It works for the first few 10, 20 attachments and then it crashes, i run the job multiple times and always get ...
2
votes
0
answers
1k
views
Deployment failed: Component Errors: Duplicate picklist value:Yes_or_No - No
Issue: When validating a change set of 300 items into production, I
received one component error:
API Name: Opportunity.New_Integrated_Payments_Customer |
Type: Record Type | Line: 5028 | ...
2
votes
1
answer
566
views
Survey Force app error "Authorization required" thrown sometimes
We are using Survey Force to send a survey to non-SF users and while some of them submit their answers without any issue, others are required to login in order to submit their answers.
We have checked ...
2
votes
0
answers
188
views
Javascript warning when a lightning component is loaded
I developed a lightning application embedded in a visualforce page.This lightning app works very well.
But since the Winter17', I've got the following javascript warning :
WARNING: Access Check ...
2
votes
2
answers
138
views
Initial term of field expression must be a concrete SObject: Id.Iam getting this error for the below trigger
trigger AmountOpportunity on Opportunity (after insert) {
Map<id,Opportunity> oldmap = Trigger.OldMap;
Map<id,Opportunity> newmap = Trigger.NewMap;
List<Id> Ids= new List&...
2
votes
0
answers
2k
views
Process Builder error: Record rolled back because not all records were valid and the request was using AllOrNone header
I'm getting the following error in a Process Builder rule, and I'm not sure why. The rule fires when a user lookup field on the Account changes. When that field changes, it changes all of the Account'...
2
votes
1
answer
104
views
When using the ExactTarget API I get an error
{ Results:
[ { StatusCode: 'Error',
StatusMessage: 'No member context has been set on the thread.',
OrdinalID: 0,
ErrorCode: 4002,
NewID: ,
...
2
votes
0
answers
112
views
Key for encryption/decryption works differently when directly used in code vs when stored in custom setting
I am encrypting a message using Crypto class methods. I have created a key as follows:
Blob cryptoKeyBlob = Crypto.generateAesKey(128);
String cryptoKeyString = EncodingUtil.base64Encode(...
2
votes
1
answer
372
views
Unsaved Changes Error in Lightning Experience
We have a custom object "Quote". Whenever I go to any Quote record and try to navigate to some other record or home page, it gives me below error in lightning experience:
I have tried with other ...
2
votes
0
answers
4k
views
Errors when calling data events REST API
I am trying to call /hub/v1/dataevents/key:MyKeyA/rowset for 2 data extensions via Fiddler and I can't get either working.
MyKeyA is just a data extension. When I call the API, I get a 596 service ...
2
votes
0
answers
556
views
Mass Lead Conversion Error
I have written the common lead conversion snippets within for loop and I got this Error. Yes following code creates Account and Contacts properly but it doesnt create any Opportunity.
ERROR :
...
2
votes
0
answers
1k
views
ExactTarget "Index was outside the bounds of the array" Error
We've had a page running for a year now. It suddenly stopped working. It processes appointment confirmations or cancellations.
The error I am receiving is this:
An unexpected error has occurred! ...