Error - A mistake or Getting unexpected output or Bug

learn more… | top users | synonyms

0
votes
1answer
30 views

Querying very large data without hitting too many query rows

Good day everyone I am trying to insert a new account and contact base on a data from csv file. The concept is that, when an account already exist I will not insert it. What I did is that I add ...
0
votes
1answer
33 views

Error when trying to run a test class on a trigger Eclipse - Force.com IDE

Team, ran the test via the run configuration but am getting the below error. Error: Try running the test again if that doesn't work, run the test from Apex Test Execution in Setup or from the ...
0
votes
1answer
22 views

Control not entering the handler class

I have written an after update trigger on the Content Version and I have used a boolean to check recursion Handler : public Class checkRecursive { private static boolean run = true; public ...
2
votes
0answers
13 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
16 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 = ...
0
votes
0answers
19 views

Salesforce Test Execution Zendesk error

I've tried to execute the following test method: static testMethod void testLeadStatusExistingDeal() { Test.startTest(); Lead record = new Lead(LastName = 'Dimitrov', Company ='NewLead1', ...
1
vote
1answer
21 views

Woocommerce Salesforce Syntax Error

We are using a plugin to connect Salesforce and WooCommerce. When submitting a quote through WooCommerce, we are getting a Syntax JSON error. When debugging, we get the following as the culprit: ...
1
vote
1answer
29 views

twilio smsToLead HTML element error

I'm trying to follow the blog for SmsToLead here and I'm getting an error I don't understand Error msg: Cvc-elt.1: Cannot find the declaration of element 'html'. This is my Visual Force code: ...
2
votes
1answer
28 views

For loop for Map giving me various errors

I am unable to get a for loop for Maps working, I am new at this if you could, I would greatly appreciate it. I am just trying to iterate the the Trigger.oldMap keys, and, everything I try gives me a ...
2
votes
1answer
28 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
1answer
20 views

Query returning no results

I am trying to update this apex trigger from an earlier thread: One Primary Ownership on Property What I want to do seems like it should be simple to me--I simply want it to update the Primary ...
1
vote
0answers
8 views

Can verification code emails be redirected or forwarded to another email address?

We have multiple users that login to the same Salesforce1 App company wide. When at a new site with a new WAN IP, the verification code prompt generates. Can that code be emailed to a different ...
1
vote
0answers
16 views

On saving page error : List controllers are not supported for OrderItem [duplicate]

I am trying to do edit for selected OrderItems using StandardSetController, however, when I am saving page, I am getting following error. List controllers are not supported for OrderItem. ...
0
votes
1answer
24 views

Change Salesforce Error Messages?

Currently when Apex code on a VisualForce page throws an exception the user is shown what line of code threw the exception and some other information. I want to change this to show a custom error ...
3
votes
1answer
22 views

Get a deleted record using SObject Rows returns “The requested resource does not exist”

I'm using the SObject Rows API to get the fields values of a given record. It works fine on existing records but when used on deleted records it returns with an error of ...
1
vote
1answer
26 views

Error on Trying to Change Order End Date

I've built out a custom ordering application where some profiles can manipulate the order params - status, line items, end date etc. The users are reporitng that they get an 'Entity locked down' ...
1
vote
2answers
64 views

Apex trigger to throw error message

I have below Apex trigger code which fails to enter first if condition which it should do. Can someone suggest me a way out if by maps or other kind of developments? Please note ...
-2
votes
1answer
28 views

Batch code doesn't update record

I have the batch code seen below. It does run, however it does not update the record (Shipping Status) that I want it to update. Any help would be appreciated! global class TrackingUpdateScheduled ...
0
votes
0answers
16 views

Webservice call out - Uncommitted work pending [duplicate]

I have batchable class that makes the web-service(REST API) callout to remote service. In developer sandbox, it is working. In fullcopy sandbox, it is NOT working and giving following error during ...
8
votes
2answers
172 views

Session expired or invalid

I am trying to build Salesforce to Salesforce integration using Named Credentials. Followed steps from below blog. ...
0
votes
1answer
33 views

Not able to Send Email for Person Account

I am facing one issue and i don't know what is it, i am going to send and Email template to the Contact via Send Email Method but it will not working for Person Account...It is working for Business ...
0
votes
1answer
36 views

Location of the Styled, unstyled Error for Apex:Messages, How to change the content?

We have a form on our system that has some required fields. And one of the things that is required is a check box. If you don't fill out the fields it will show you an error message that says "you ...
0
votes
1answer
22 views

Multiple email attachment failure

I have below code to send multiple email attachments in a single email which is throwing below error. Can some one please tell me what's wrong here? Code Snippet Messaging.EmailFileAttachment efa = ...
0
votes
0answers
31 views

How to create Batch class that identifies number of the records- and creates exact number of records

The problem statement is- I need to create a batch- identifies order entries lineitems created for yearly payment (27 entries are created when payment txn is completed). Due to latepayment/early ...
2
votes
1answer
74 views

Icon maximum length error during deployment

I created a new sandbox and tried to deploy some code changes using Github and CircleCI (CircleCI internally uses Ant Migration Tool). I get this strange error : [sfdeploy] Component Failures: ...
0
votes
0answers
23 views

Getting Error on “insert oliObj;”

Account testAccount=new Account(Name='TestAccountForTestClass',ShippingCountry='India',RecordTypeId=recordId1); Insert testAccount; Id ...
1
vote
1answer
34 views

Measures and filters

I'm trying to find who ever got and specific email 3 days ago. So I made a Measure: Event source: Sent Condition: Email name == 2015-11-11_Praeaktiveerede_kort_invitation I know I have sent 46 ...
1
vote
1answer
34 views

Lead Capture Page: Not Available when posting Web-to-Lead lead

We work with a lead partner who posts leads to our SF org. They receive the following error when creating a test lead: Gateway: https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8 ...
1
vote
1answer
48 views

Rest Api error 400

This Rest api Java code authenticate to insert lead is working in my dev org But when I try to do the same in production it throws error 400 Can anybody sort it out. static final String ...
2
votes
1answer
62 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 ...
6
votes
1answer
72 views

NinjaValidationException

I encountered the following exception when trying to insert a CollaborationGroup in a test: System.DmlException: Insert failed. First exception on row 0; first error: UNKNOWN_EXCEPTION, ...
0
votes
1answer
30 views

Error :Could not resolve field 'Comment' from <apex:inputField> value binding '{!Case.Comment}'

Can any one help me out ? Why do i get this Error: Could not resolve field 'Comments' from <apex:inputField> value binding '{!Case.Comments}' in page MassCloseCasesPage. Error: Invalid field ...
1
vote
0answers
20 views

Salesforce Eclipse Plugin - Save errors

When I save to server from the Eclipse Salesforce plugin, and there are save errors, I only get warned about one of them. So I fix it. When I save again, if there are more errors, it will warn me ...
0
votes
0answers
10 views

triggers clash on caseobject and contact object

I have two triggers on two objects on Case JoinContactToCase on Case (before insert, before update) and second contact object updatephones on Contact (after insert) { I have written test class for ...
0
votes
0answers
53 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 ...
0
votes
0answers
29 views

Exact Target - Unable to determine stack using /platform/v1/endpoints

I've been experiencing some problems with the Exact Target SDK over the last few days. The error is as follows: Exception information: Exception type: Exception Exception message: ...
1
vote
1answer
11 views

List has no rows for assignment to SObject: Trigger.updatephones: line 4, column 1

trigger updatephones on Contact (after insert) { List<Account> acc=new List<Account>(); for(Contact c:trigger.new){ Account a=[Select Id,Name,phone From Account Where ...
9
votes
1answer
230 views

Too many namespaces error

Once in awhile when I try to convert a lead, I get the following error: Error: System.LimitException: Too many namespaces accessed: 10 External entry point It happens pretty infrequently and I ...
0
votes
1answer
34 views

Test class for Error Handler class

I have a class for the purpose of handling error. I want to write a test class for the same. Can somebody please help me as I am new to salesforce. Below is my code of the class. public class ...
0
votes
1answer
70 views

getting error as Destination URL not reset. The URL returned from login must be set in the SforceService

while creating the contact in SOAP UI using the enterprise/parter wsdl we are getting the error as : Destination URL not reset. The URL returned from login must be set in the SforceService Please ...
1
vote
1answer
29 views

Error Message in Devloper Console when Saving

Does anyone know what would cause this? Basically since I started editing my code today I've been getting this error message whenever it saves. I wasn't getting this yesterday!
0
votes
0answers
32 views

INACTIVE OWNER OR USER error

While creating a case an error is appearing INACTIVE_OWNER_OR_USER I verified the user and it is actif. Can some one help me to troubleshoot this?
0
votes
0answers
10 views

Help with Java SOAP cast from sObject to ContentVersion

After looking around, and making 2 questions that didn't really have any answers, I found a means to publish a user's private library CRM content to a public or shared library in the Java example code ...
1
vote
1answer
31 views

Dataloader Batch Mode Extract CLI Process.bat Error

I am trying to do an extract via the CLI of dataloader and getting an error when I run my process.bat. Here is error message when running process.bat on csvAccountExtractProcess in the process-conf ...
2
votes
1answer
76 views

JavaScript Error when typing in lookup field

I am receiving this javascript error in an up-to-date version of Google Chrome (Version 45.0.2454.101 m): error: {faultcode:'soapenv:Client', faultstring:'Attribute "xmlns" bound to ...
2
votes
0answers
136 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 ...
1
vote
1answer
27 views

How does salesforce notify the solution provider in the error message “Your Solution Provider has been notified”?

We are an ISV partner and sometimes our clients get the following error when working with our package. We want to know where the notification goes and how we are notified so we can catch the bug ...
0
votes
0answers
31 views

Error during lead conversion

I get this error when try to convert a lead through Apex Rest Error: Unable to call the endpoint.Error: System.DmlException: ConvertLead failed. First exception on row 0; first error: ...
0
votes
0answers
35 views

Error: Load failure, cant open flow

I get the following message when im trying to open a flow i've been working on: Load failure Can't load flow. Reference ID: Xxxxxxxxxxxxx And since this is happening in Dev mode, i cant open a ...
1
vote
0answers
37 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 ...