Azure Data Factory - Salesforce connection problem - salesforce

I have some issue with my ADF Salesforce connetor. Did anybody have it?
Operation on target Copy data1 failed: Failure happened on 'Sink' side. ErrorCode=UserErrorSalesforceOperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=[BatchFailure]JobId:7503B000005V9v5QAC, BatchId:7513B000006IF3pQAG, Message:InvalidBatch : Field name not found : ConnectionReceivedId,Source=Microsoft.DataTransfer.Runtime.SalesforceConnector,'

Congratulations that you figured it out:
" I figured it out! Some of fields were not allowed to add. After deletion in mapping section everything works fine"
I help you post it as answer and this can be beneficial to other community members.

Related

How To_decimal works in Informatica

Today i came across an issue in informatica code which i have figured out the solution for it. But i don’t have a proper justification and not sure if my solution is a proper fix.
Here is the summary of my issue:
Source: Flatfile (Fixed Width)
Source Field Datatype: String 14
Target: SQL Server Table
Targer Field Datatype: Decimal (14,2)
Old Logic
IIF (TO_DECIMAL(FIELDNAME),TO_DECIMAL(FIELDNAME)/100,NULL)
Bad data
00002631064132
Error
Message: Transformation Evaluation Error [<> [TO_INTEGER]: integer overflow
... i:TO_INTEGER(f:TO_FLOAT(d2:TO_DECIMAL(u:'00002631064132',i:-100)),i:0)]
Updated Logic
IIF(NOT ISNULL(LTRIM(RTRIM(FIELDNAME))),TO_DECIMAL(FIELDNAME)/100,NULL)
Output
26310641.32 (Loaded as Expected)
Issue Summary
We have the initial logic (Old Logic) which converts the string to decimal(14,2).
This code has been running without any issues since from a while. But today this load has failed with integer overflow (Error).
I have changed the logic as show in the picture(Updated logic) and it loaded the data successfully with expected output(Output).
My doubt is why there is to_integer, to_float showed up in the error when i’m not using anywhere in my mapping. I’m looking for proper justification for this fix.
Any thoughts?
Thanks in advance!!
What is the data type of the variable/output port where you are logic is defined ?
Also can you provide the input data that was causing this issue ?

Drupal EntityMalformedException

I am getting this issue
EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7922 of /opt/prolifics/includes/common.inc)
whenever cron runs in Drupal-7. Can anyone help me on this?Thanks in advance.
This is a fun Drupal problem. It generally relates to malformed or orphaned field entities. See https://www.drupal.org/node/1778572#comment-6891428 for a potential fix

Accessing test&target API / calling saveCampaign/createCampaign API

I am trying to access saveCampaign API for testing purpose.
I followed the instructions provided, formed URL to create a plain campaign with URL :
https://testandtarget.omniture.com/api?client=user&email=user1#acme.com&password=pword&version=1&operation=saveCampaign&thirdPartyId=extID501&version=1&campaign=NNNNCampaign-Name
ofcourse, by editing proper email,clientID and password.
I get below mentioned error message :
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<error>
<message> A generic Exception has occurred. </message>
<code> 500 </code>
</error>
However the operation listCampaign works fine and returns a list of campaigns.
It would be a great help if someone could help.
thanks in advance.
The campaign parameter needs to contain a valid XML representation of the campaign you want to create/save as stated in the Test&Target's API docs. The error message you get points to a problem parsing the campaign XML parameter which is most likely caused by sending invalid data.
the XML document was not valid.
I modified it and created offer and could crate campaign.
thanks florin for pointing me in correct direction

Bugzilla: bugs are not showing up (show up in DB and everything seems to be fine)

I just installed Bugzilla locally and it seems that everything is fine. I can create new products and components. I can also file new bugs and they show up in the database.
But when I want to view them in the web interface, they won't show up.
Instead, at the top of the page this shows up:
Product: ARRAY(0x3735378 Component: ARRAY(0x4275650) Resolution: ARRAY(0x42755a8)
and then below the "Zarro Boogs found."
I couldn't find any information on that on the web, did anybody have similar issues? Thank you!
Please check the bugs table in techzilla database and verify if the bug details are getting updated.
The cgi file which corresponds to the listing of bugs is buglist.cgi.
Template file is:-global/message.html.tmpl
"Zarro Boogs found." is showing because, the values are not correctly entering in the query to display the buglist.
It is evident from the display,
Product: ARRAY(0x3735378 Component: ARRAY(0x4275650) Resolution: ARRAY(0x42755a8)
it is because of the looping problem.
check the display code in the template file or buglist file and correct the loop, then it will dsiplay properly
Jenifer,
Yes, It is because of the zero value in the query. We can check it, by printing the query and checking the value in DB.
Inserts a Named Query (a "Saved Search") into the database, or updates a Named Query that already exists..
We had similar problem. Bugs were not showing in search result list. The problem was in the name of the product when the name of the product was with diacritics (e.g. Czech, Slovak, etc...). When the name of the product is in US ASCII it is all Ok.

Need elaboration on Unprocessed Continuation Reference

We have a user that our corporate portal cannot fetch the groups for from AD.
On the portal logs we see this error:
javax.naming.PartialResultException: Unprocessed Continuation Reference(s) remaining name ''
I've Googled for the error and the best symptoms that seem to describe this case and how to resolve it are here: http://www-01.ibm.com/support/docview.wss?uid=swg21232921
Assuming we don't want to change the configuration just because of one user but to amend the data of this specific user can someone please explain me how can recognize this when examining the user's record in the AD? Is this something to do with his groups assignments and if yes then what should I look for?
I just ran into this.
I got around it by setting your InitialDirContext environment to have the Context.REFERRAL key set to "follow".
According to the Javadocs, that key can be "follow", "ignore", or "throw". The default is determined by the provider you use, which is probably "throw".
Check out this link for a bit more data on what your API is telling you: http://www.jspwiki.org/wiki/ActiveDirectoryIntegration
I'm not an expert on this API but can explain at least what I think is going on based upon that doc & knowledge of what AD is doing. :)
AD returns what are called "referrals" when you do searches that have naming contexts outside of this local server/search but in the logical scope of your request. This is per RFC request. Think of a referral as a hint to you the app that there might be more data out there...ie, that is, the AD server is saying "here are the results I have for you but, you should know, there is someone else that might have more...go here to find out."
Referrals aren't an "error" they are a hint to the app.
It seems that your LDAP API is throwing an exception when encountering them. Per the docs I referenced above, it looks like you can either swallow them or chase the referral to find out if there is more data.
add this for env properties
env.put(Context.REFERRAL,"follow");
Also one of the issues that i found was that the incorrect search query string in ldapContext. The incorrect query formed due to wrong format of parameter throws:
javax.naming.PartialResultException: Unprocessed Continuation Reference(s) remaining name ''
But if we add the parameter Context.REFERRAL="follow", then it does not throw an exception but neither does it return result.
The parameter to ldap query string should also match the that is being accepted by LDAP else it will throw the same error.

Resources