Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tSalesforecOutput Component error

Getting the following error when trying to run the job:-

 

Starting job sqltosfdc at 15:05 28/08/2018.
[statistics] connecting to socket on port 3681
[statistics] connected
[trace] connecting to socket on port 5012
[trace] connected
Exception in component tSalesforceOutput_1 (sqltosfdc)
java.io.IOException: [InvalidSObjectFault [ApiQueryFault [ApiFault  exceptionCode='INVALID_TYPE'
 exceptionMessage='sObject type '' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.'
 extendedErrorDetails='{[0]}'
]
 row='-1'
 column='-1'
]
]

    at org.talend.components.salesforce.runtime.SalesforceSourceOrSink.getSchema(SalesforceSourceOrSink.java:418)
    at org.talend.components.salesforce.runtime.SalesforceWriter.open(SalesforceWriter.java:153)
    at boa.sqltosfdc_0_1.sqltosfdc.tDBInput_1Process(sqltosfdc.java:2588)
    at boa.sqltosfdc_0_1.sqltosfdc.runJobInTOS(sqltosfdc.java:6385)
    at boa.sqltosfdc_0_1.sqltosfdc.main(sqltosfdc.java:6227)
Caused by: [InvalidSObjectFault [ApiQueryFault [ApiFault  exceptionCode='INVALID_TYPE'
 exceptionMessage='sObject type '' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.'
 extendedErrorDetails='{[0]}'
]
 row='-1'
 column='-1'
]
]

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:673)
    at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:556)
    at com.sforce.ws.transport.SoapConnection.parseDetail(SoapConnection.java:236)
    at com.sforce.ws.transport.SoapConnection.createException(SoapConnection.java:210)
    at com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:156)
    at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:99)
    at com.sforce.soap.partner.PartnerConnection.describeSObjects(PartnerConnection.java:1225)
    at org.talend.components.salesforce.runtime.SalesforceSourceOrSink.getSchema(SalesforceSourceOrSink.java:415)
    ... 4 more
[statistics] disconnected
[trace] disconnected

Job sqltosfdc ended at 15:05 28/08/2018. [exit code=1]

Labels (5)
3 Replies
Jesperrekuh
Specialist
Specialist

Check the user's profile permissions on the object. If the user does not have permission then API responds with InvalidSObjectFault.
Anonymous
Not applicable
Author

Hello,

The user is having permissions on the object.

vatsal_ras
Contributor
Contributor

Hi , Please try to attach the screenshot of tSlaesforceoutput.
Also you can give a try to other components like tSalesforceBulkExec.