Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [error]

Error - A mistake or Getting unexpected output or Bug

-2
votes
1answer
31 views

Upsert failed. First exception on row 1; first error: FIELD_INTEGRITY_EXCEPTION, This price definition already exists in this price book: [] [closed]

guys, anyone would help me to understand with this error? I new in salesforces.
1
vote
1answer
28 views

Launch Flow from Button in Lightning Community - “down for maintenance” error

Summary: I'm getting a "down for maintenance" error in my Lightning community when I click a custom button that launches a screen flow to create a user from an existing contact. The button works in ...
0
votes
0answers
27 views

Invalid_grant:authentication failure when signing on to Salesforce Workbench

I'm unable to login to Salesforce Workbench using a custom Salesforce domain for Sandbox environment. I'm getting the error invalid_grant:authentication failed. However if i try to sign on to a ...
2
votes
0answers
74 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 ...
0
votes
0answers
13 views

How to join Partner program? Email error

I am trying this trailhead, AppExchange Partner Basics, and I can't register for Partner program: https://trailhead.salesforce.com/content/learn/modules/isvforce_basics/...
4
votes
1answer
114 views

Error: Cannot find module '@oclif/config'

I already sort of asked this question but there doesn't seem to be a solution for it. So I figured I would ask a new question about work arounds people have done. When running any form of sfdx ...
0
votes
1answer
18 views

Is there a list of all places in SF config where UI error messages can be defined?

When creating an Account I encountered an error message: Looks like a custom message but I searched over every possible place I know where custom error messages can be created and didn't find it. ...
3
votes
2answers
223 views

Error when running sfdx update to 7.1.3 then sfdx push errors

When I ran sfdx update from 6.56.0 to 7.1.3 I got the error below. And when I run sfdx force:source:push I'm getting the below error. Are these two related? I'm not sure where to start on the second ...
2
votes
1answer
28 views

Error when using setOrgWideEmailAddressId in SingleEmailMessage [resolved]

I'm trying using setOrgWideEmailAddressId in my class Apex but he return this error: 718403274-125341 (195485361) Code: @AuraEnabled public static void sendEmailReference(String strEmail){ ...
1
vote
2answers
213 views

How to use Lightning-Record-Form onError to display custom error message

Let's say I have a Lightning-Web-Component that uses lightning-record-form like this: <lightning-record-form record-id={recordId} object-api-name="Opportunity" fields={myFields} ...
6
votes
2answers
131 views

SOQL query causes internal Salesforce error

I've hit an unhandled exception when writing a query, and I'm curious if anyone here has seen the same thing. This is not a timeout issue - the error happens almost immediately, so it's not a query ...
2
votes
2answers
196 views

Concurrent requests limit exceeded - how to find the problematic code

I am a developer for a Salesforce org that serves as a community portal for thousands of users. We have been consulting with a large team of developers for years and everything we have is custom coded....
2
votes
0answers
47 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 ...
0
votes
1answer
41 views

System.UnexpectedException: Invalid parameter value for parameter “Decryption Exception”

I tried to execute some code in a sandbox and I got an odd error message: System.UnexpectedException: Invalid parameter value '****' for parameter "Decryption Exception". Looks like it happened ...
0
votes
0answers
41 views

Exception method getStackTraceString is empty ()

I'm sending any errors that our try/catch blocks catch to Slack and for some reason all the Exception info is filled out apart from the getStackTraceString method. It's a method within a class: try {...
0
votes
0answers
18 views

Error on Dashboard

Can you please help me to understand why I am getting this error. Arithmetic error: Division by zero Error is in expression ’{!IF((item.actualRev/item.targetRev)*100 >= 100,‘background-color:...
1
vote
1answer
93 views

FIELD_INTEGRITY_EXCEPTION when creating Price Book Entry from flow

I have created a flow that creates a pricebook entry for new products (based on a custom field on the Product object), however when I debug the flow it comes up with the following quite generic error: ...
-1
votes
1answer
36 views

grunt build does not work for SGJC

I am trying to follow the steps described over here. So, I come to the part where I am ready to run the grunt build command. And here is the output I am getting after running it: $ grunt build >&...
3
votes
1answer
171 views

“SerialBatchApexRangeChunkHandler Internal Salesforce.com Error” from a batch execution

We are an ISV and we have a managed package. In the managed package we have an implementation of Database.Batchable that is also implementing Database.Stateful. It is global, so is part of our exposed ...
7
votes
1answer
1k views

Log to console in a Lightning Web Component

I am attempting to write a Lightning Web Component, but continually run into errors in my Javascript that I can't debug. I've been trying to log my error but when I put console.log() anywhere in the ...
0
votes
1answer
36 views

SearchUi.orgHasAccessToSearchUiPages error

I'm seeing a strange error today. Our org has a visualforce page where guest users insert a record. One of the fields for this record is a lookup. We allow these users to use the spyglass to search ...
0
votes
1answer
116 views

“Too Many SOQL Queries” in flow where I need to work with 5000 records

I have a few thousands Contacts and a few thousands Accounts. I need to update a custom field of all my Accounts with Emails of related Contacts. In my flow I get "Error Occurred: Too many SOQL ...
0
votes
1answer
27 views

Error Message Question

I'm new to salesforce and am unsure how to approach this error message. I had created this class that rolls down a Contact Role from a Contact created on a Parent to its children and a trigger that ...
0
votes
0answers
33 views

Test Classes: MIXED_DML_OPERATION

Via Process Builder, Is there anything I can do in my process that could stop this from occurring? Error Message: System.EmailException: SendEmail failed. First exception on row 0; first error: ...
0
votes
2answers
55 views

How do you deal with AMPscript errors?

Is there a try/catch function in AMPscript? If not, how do you deal with errors in your code? I have a code that may break when using lookUpRows, but i want it to do it again, but with another id. ...
0
votes
0answers
11 views

Is EntityLink available from a Partner Community context?

Does anyone know if EntityLink can be used in chatter message in Partner Community context? Invoking the command below: ConnectApi.ChatterFeeds.postFeedElementBatch(networkId, listOfFeedElements); ...
0
votes
1answer
26 views

Dispaly an Error Message on unsuccessful POST function

I have a requirement where the user is updating a table and when he/she clicks on the Save button a POST service is called and the data gets saved. The requirement is now enhanced where by the user ...
1
vote
0answers
55 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
1answer
50 views

Accessing User records in Sandbox: Error ID: 429448537

This is mostly by way of information only. Some of our user records in Sandbox have an issue that causes the error below: It only affects the viewing of the user's page in the admin area, editing ...
0
votes
1answer
69 views

Difference between lock row and Record Currently Unavailable

Good day everyone, Last time,I encounter this error saying : UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record. I try to search a possible fix and I found that adding 'For ...
1
vote
0answers
92 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
2answers
170 views

on trailhead facing issue Error: Faraday::ClientError. Message

On this trailhead ( https://trailhead.salesforce.com/content/learn/projects/quickstart-lightning-components/quickstart-lightning-components3 ). when i click on the verify button it's throwing error ...
1
vote
0answers
247 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 ...
0
votes
1answer
30 views

Opportunity Standard Object missing from Object Manager. How is that possible?

I am supporting a charity in making their system more effective (NPSP) and in Object Manager Opportunity is not visible at all. Has anyone seen anything similar? How can I fix it? I want to use ...
0
votes
1answer
43 views

UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record during Insert

Good day Everyone, I know there are lots of questions which is similar with my question. But I still post this because I did not find any case which is similar with mine. I am working with some ...
0
votes
0answers
36 views

Session Based Permission Sets are not available - how to enable?

In my org (enterprise edition, 2018 winter) Session Based Permission sets are not available (when i create a new Permission Set, that checkbox is just missing). I also get a weird error when I'm ...
3
votes
1answer
822 views

No sfdx-project.json found in the root directory of your open project. Open a Salesforce DX project in VS Code

I'm using VScode for Apex dev. I have logged into Devhub org. and created a scratch org. when I try to execute pallet command: SFDX: Refresh SObject Definitions I'm getting below error. No sfdx-...
0
votes
1answer
47 views

Best way to track an incrementing number in Salesforce

I'm trying to track an incrementing number in Salesforce with the following caveat: The number should only increment when a Lead or Contact meets certain criteria. This has been working ok with a ...
2
votes
1answer
43 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. ...
0
votes
1answer
167 views

Looping Flow Error

Here's my Flow: enter image description here & here's my Error: Error element myRule_1_A1 (FlowRecordUpdate). The flow tried to update these records: null. This error occurred: LIMIT_EXCEEDED: ...
0
votes
1answer
22 views

Email Send Error

I just "sent" an email but the status of the activity is cancel. It has an ampscript that seems to be correct. Where can I check the error or the reason of the cancelation? The ampscript is: %%[ ...
1
vote
0answers
422 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
1answer
36 views

Error when expand/collapse page section

I have observed the below on the basic Account page in Salesforce's Lightning page (not a custom code page layout). I am receiving the following error when I expand/collapse a page section on any ...
0
votes
2answers
75 views

add error method returning a null pointer exception

In a before insert trigger I added an addError message, but the error message is not showing, instead I get a NullPointerException. This is my code: trigger ValidateNIF on Account (before insert, ...
0
votes
1answer
30 views

Constructor not defined error on Event trigger

I'm fairly new to development but I'm currently trying to move some triggers into classes to follow the one trigger per object design pattern. I'm getting the following error in the trigger: ...
0
votes
0answers
80 views

Lightning Application “Input Too Long. [1, 217]” error with no debug log produced

Does anyone know what is Input Too Long. [1, 217] error? There is no Error details in browser console nor there is any Debug Log generated at all. The issue is being noticed from a Lightning ...
0
votes
1answer
174 views

Error validating change set (Background FlexiPageRegionType)

I'm getting the following error when validating a change set with a new custom app in it: Error parsing file: 'Background' is not a valid value for the enum 'FlexiPageRegionType' It seems to be ...
0
votes
1answer
136 views

Error Occurred During Flow Emails

How do I tell Salesforce to send 'Error Occurred During Flow' emails to specific Users?
3
votes
1answer
28 views

apex - Internal server error when getting Element of a List of Maps

I am passing a List of Maps to my controller from the client-side javascript, and when trying to access an element of this list, an internal error is thrown. Here is an example of the problem : ...
1
vote
0answers
138 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 ...