Questions tagged [error]

Error - A mistake or Getting unexpected output or Bug

182 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
13
votes
0answers
1k 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
1answer
215 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 ...
5
votes
0answers
146 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 ...
5
votes
2answers
557 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
0answers
151 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
0answers
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
0answers
100 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
2answers
163 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
0answers
270 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
0answers
801 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
0answers
720 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
0answers
416 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
0answers
254 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
1answer
29 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
1answer
24 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
0answers
30 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 ...
2
votes
0answers
268 views

Load third party JS in LWC

I created a static resource with just one JS file. However when component rendered it gives me an error "undefined". Template: <!-- videoPlayer.html --> <template> <div class="...
2
votes
0answers
206 views

403:denied_by_security_policy:create_denied when subscribing to platform events

This error is thrown when I try to subscribe to a platform event using the EMP-connector. I followed the steps outlined in the documentation: https://developer.salesforce.com/docs/atlas.en-us.220.0....
2
votes
0answers
1k 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
0answers
337 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 ...
2
votes
1answer
64 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
0answers
112 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
0answers
656 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
0answers
514 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
0answers
257 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
0answers
295 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
0answers
163 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
2answers
135 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
0answers
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
1answer
63 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
0answers
94 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
1answer
232 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
0answers
2k 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
0answers
287 views

Salesforce as IdP for Aha.io - Single Sign-On Error: Invalid HTTP Method

I'm completely new to SSO, so please bare with me... I am trying to setup Salesforce as the IDP using SAML 2.0 for a third party application called Aha.io. I've followed this guide to Enable ...
2
votes
0answers
453 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
0answers
697 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! ...
2
votes
0answers
446 views

“Unsupported type java.lang.Class” error when checking ApexPages.Action with ISNULL

I have a custom component which doesn't use a Custom Controller. On of the optional attribute is of Type ApexPages.Action. The component renders a command button only when this attribute was set. It ...
2
votes
0answers
149 views

Upgrade of Managed package fails with <Data Not Available> error email

When I tried to upgrade a customers org with the newest version of our managed ISV package I received this error email minutes after I finished the installation wizard: Your request to install ...
2
votes
0answers
269 views

Winter 14 causing errors?

I have a very simple VF Page, that just has an action method that copies the address of the head of household to all the rest of the contacts to the household. This has worked fine, but on Saturday ...
1
vote
0answers
71 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, ...
1
vote
0answers
49 views

Error in Journey Builder: Limit exceeded

I get an error in Journey Builder: Limit exceeded. We are using SC data. Connector is the latest version, number of active flows is one. Any ideas what can cause this?
1
vote
0answers
82 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 ...
1
vote
0answers
135 views

Unable to captureStream from a video element with salesforce content as the video source

We're looking to stream content in a HTML tag through a video chat service, TokBox. This content is currently housed in Salesforce Files, and we're trying to access this content via the "...
1
vote
0answers
400 views

HttpRequest gives 500 error

I have an APEX class with code to request a token from https://login.salesforce.com/services/oauth2/token. This code works on Development and Acceptance, but is not working on Production. This is de ...
1
vote
0answers
517 views

Authentication into Dev Hub does not work in CLI

I type in Salesforce CLI the following command: $ sfdx force:auth:web:login -d -a DevHub My browser opens up a login form. I pick the org which has Dev Hub enabled. Then in browser I am getting ...
1
vote
0answers
715 views

Uncaught afterRender threw an error in 'lightning:input'

I have implemented Lightning QuickAction. This action works fine all the time except when I enable Debug mode for my login, it throws the following error when I click on the quick action on the record ...
1
vote
0answers
248 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 ...
1
vote
0answers
229 views

Issues with Case Business Process Picklist values while using Ant

Were doing a first time deploy of code to a QA box and for some reason I keep getting errors about Picklist values not present. I can see them in the Case object under the BusinessProcess section, ...
1
vote
1answer
172 views

Unknown property error on Standard Controller when creating v-force page … but only for some users

I am getting the following error when creating a v-force page in a standard controller extension: System.VisualforceException: Unknown property 'Award__cStandardController.awardAmount' The ...
1
vote
0answers
368 views

Creating Data Extension via Ampscript giving error

I'm trying to create a data extension from a landing page using some Ampscript. So far I have got this: %%[ var @jobno, @de, @deFields, @StatCode, @ts_attr, @StatMessage, @ErrorCode set @jobno = ...