Questions tagged [error]

Error - A mistake or Getting unexpected output or Bug

282 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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: ...
VarunC's user avatar
  • 5,900
10 votes
1 answer
434 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 ...
ipavlic's user avatar
  • 3,684
9 votes
0 answers
329 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 ...
Robert Sösemann's user avatar
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 ...
wesaw's user avatar
  • 2,990
6 votes
0 answers
430 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 ...
Olivia's user avatar
  • 3,431
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 ...
VarunC's user avatar
  • 5,900
5 votes
0 answers
609 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 ...
Cory_16's user avatar
  • 63
5 votes
0 answers
192 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 ...
Novarg's user avatar
  • 5,236
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 ...
Salesforce Steps's user avatar
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 ...
ElkCor's user avatar
  • 307
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 ...
Sergio Kozlov's user avatar
4 votes
2 answers
284 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: ...
MRG's user avatar
  • 355
3 votes
0 answers
352 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', // ...
Theodoor's user avatar
  • 441
3 votes
0 answers
556 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; ...
Afrose ahamed's user avatar
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:...
Jackdeepti's user avatar
3 votes
0 answers
133 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 ...
VarunC's user avatar
  • 5,900
3 votes
0 answers
443 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 ...
VarunC's user avatar
  • 5,900
3 votes
0 answers
998 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 ...
Alexander Aeons Torn's user avatar
3 votes
0 answers
824 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 ...
rodneyaz's user avatar
  • 364
3 votes
0 answers
778 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 ...
bubakazouba's user avatar
3 votes
0 answers
405 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>...
Dan's user avatar
  • 349
2 votes
0 answers
421 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 ...
JustinF's user avatar
  • 403
2 votes
0 answers
88 views

amcharts index.js is rejected by loadScript() in LWC with empty exception

We tried to include amcharts5 libraries - index.js, animated.js and xy.js in LWC. Animated.js and xy.js is loaded properly in LWC but index.js is failing with an empty exception and it goes inside the ...
Parul Gupta's user avatar
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 ...
Nicolas Vuillamy's user avatar
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 ...
Eszter Fodor's user avatar
2 votes
0 answers
994 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 ...
yakee-niyakee's user avatar
2 votes
0 answers
66 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 ...
Camilo Diaz's user avatar
2 votes
0 answers
900 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 ...
user96559's user avatar
2 votes
1 answer
119 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 '|...
Kane's user avatar
  • 21
2 votes
1 answer
86 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 ...
Krishnamurthy's user avatar
2 votes
1 answer
265 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 ...
ypeskov's user avatar
  • 23
2 votes
1 answer
595 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, ...
Holland Dotts's user avatar
2 votes
1 answer
42 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 ...
Salvation's user avatar
  • 1,147
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 ...
Robs's user avatar
  • 9,177
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 ...
user66886's user avatar
2 votes
1 answer
233 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. ...
VarunC's user avatar
  • 5,900
2 votes
0 answers
259 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 ...
Yosef Sahler's user avatar
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 ...
Max's user avatar
  • 101
2 votes
0 answers
829 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 { ...
akarnid's user avatar
  • 1,955
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 ...
user28829's user avatar
  • 666
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 | ...
Morgan Marchese's user avatar
2 votes
1 answer
607 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 ...
user38689's user avatar
2 votes
0 answers
189 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 ...
Julien's user avatar
  • 51
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&...
Landa Sankar Rao's user avatar
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'...
Matt's user avatar
  • 1,017
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: , ...
Gnam's user avatar
  • 21
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(...
codeinprogress's user avatar
2 votes
1 answer
383 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 ...
S.Sharma's user avatar
  • 1,637
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 ...
Lifes's user avatar
  • 121
2 votes
0 answers
557 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 : ...
Salesforce Steps's user avatar

1
2 3 4 5 6