Error: Unknown duplicates value on record with id - salesforce

I'm trying to Upsert the data to Account object using an external tool, Everything works fine but Salesforce is throwing error for few records when upserting.
I was doing the upsertion process using the external id field. Except external id field no other field is having a unique constraint.
I'm getting the following error -
SF_ERROR: DUPLICATE_VALUE
OBJ: Account - duplicate value found: unknown duplicates value on record with id: 001***********
Please help me to solve the issue.

This is happening because your trying to create Salesforce contact multiple times with same email and data

It's silly but this was happening to me because SFDC considers 'NULL' as a unique value... Mostly because Excel converted 'NULL' to text and was trying to bring in the literal word 'NULL'.

Related

How do i solve this SISS thing?

TITLE: Microsoft Visual Studio
Error at Data Flow Task [Union All [303]]: The metadata for "Union
All.Inputs[Union All Input 3].Columns[Title]" does not match the metadata for
the associated output column.
Error at Data Flow Task [Union All [303]]: Failed to set property
"OutputColumnLineageID" on "Union All.Inputs[Union All Input
3].Columns[Title]".
ADDITIONAL INFORMATION:
Exception from HRESULT: 0xC0204006 (Microsoft.SqlServer.DTSPipelineWrap)
BUTTONS:
OK
I keep getting this error when i try to do data conversion and then try to do union... This is because, if you know, the data conversion, will create new columns. SO when i try to do union with them, it will get the bove error.
you have to delete and re-add those connections between sources and union.
I had the same problem once and what I did was as follows:
1)Double click the respected data-conversion which faulty data is passing through
2)Check to see if all the data types for you columns are matching with the data type of same column from your other data-conversion.
3)Fix if there is any difference
And this will fix it for you, as it did for me.
Double click the UNION ALL component to display the output Column Names.
Change Union All Input 1 and the Union All Input 2 to
Rename you column and add a new column with the right name and the right data.
Now you have the right column with the right types,you can delete your old renamed column.
Don't forget to update the derived column and destination compnenent. The will be updated automatically with the unwanted renamed column. Just configure the right column in these component and refresh. all will be right.

cannot read the next data row for dataset

I get a error message I preview my report. I had to change my credentials for data server and changes the column names, but I didn't make any changes to the query. I get this error messages when I preview my report
An error occurred during local report processing. An error has
occurred during report processing. Cannot read the next data row for
the data set. conversion failed when converting from a character
string to uniqueidentifier.
I have two parameters both take number values so, I have them setup as text values. I have one more filter converting it to int. I changed my parameters to int and removed to filter to see if it worked, but I still get the same error message. The report worked when I ran it through my other credentials, I don't know why it giving me an error message now.
As The error already pointing out, you have character data type which cannot be converted to unique identifier type.
you have data type mismatch

create varchar sequence in ADF throw ORA-01722

Friends i am working on jdev12c but i am facing issue i am able to create new record using bc4j tester but when i am trying to change(update) existing data it throws exception Invalid NumberError while selecting entity for CustmerInfo: ORA-01722: invalid number
I have searched for this error but i am not able to get solution just to provide more information I have one master and 2 child tables.In master table i have 2 column which uses DBSequence(seq and trigger from database) and one mandatory date field(timestamp).
I have found out the reason actually the customernumber column is varchar because i am concatenating the sequence with prefix and then storing it.now the problem is as soon as i change entity attribute to DBSEQUENCE it throws invalid number error for updation
DBSequence should only be used if the value you are getting is populated form a DB Sequence - which would be a number.
If you are manually populating that field - then use a regular String type for the field.

Cannot create kinesis analytics application

While creating Kinesis Analytics application it successfully discovered my schema based on the data. However, when I hit save and continue, I get following error
Error updating application There was an issue updating your
application. Error message: 1 validation error detected: Value 'C' at
'input.inputSchema.recordColumns.2.member.name' failed to satisfy
constraint: Member must satisfy regular expression pattern:
[a-zA-Z][a-zA-Z0-9_]+
my sample record is below
{"reported": {"timestamp": "1482231365", "C": "40", "id": "D_aa-bb"}}
My bad, I overlooked the error message. Found the solution, hope it might help someone.
The auto detected schema name was the issue. From the sample record, the auto detected column name was C and the regex says it should contains atleast two characters. After editing the schema manually with two characters it succeeded.
There was another issue though, the auto detected column name timestamp is a reserved keyword, which we need to change.

Salesforce - converting leads in opportunities, error message

I have problems converting my leads in Opportunities on Salesforce. Whenever I convert a saved lead, I get the following error message below the field: "Converted Status: Qualified".
Error: System.DmlException: Insert failed. First exception on row 0;
first error: INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST, bad value for
restricted picklist field: 1. first contact: [Partnership_Level__c]
Class.leadconvert.BulkLeadConvert.handleRegularAccountInserts: line
226, column 1 Class.leadconvert.BulkLeadConvert.convertLead: line 88,
column 1
Can anyone help?
Best,
Nicholas
You need to check values of Picklist fields which your code populate, seems you are just trying to assign value to field, which is not included in list of available values. Try to use debug logs for getting more info.
Also, on picklist fields exists such option as 'Restrict picklist to the values defined in the value set', you can try to uncheck it for avoiding mentioned issue.

Resources