on 05-10-2019 11:35 PM
Dear all,
I need help in a interface that I'm developing, it error is occurring in interface Successfactors LMS system integration with ERP, the error occur in access to Successfactors LMS, bellow detail de error:
org.apache.camel.RuntimeCamelException: Error invoking read with {adapterTraceService=com.sap.gw.core.ip.odata4.util.ODataV4TraceServiceImpl@136d850f, configurableDestinationManager=com.sap.gateway.core.ip.component.connectivity.HTTPClientProvider@78a39c14, queryParams=$filter=criteria/targetUserID eq 'leandro.machado', serviceUri=https://intelligenza-stage.plateau.com/learning/odatav4/public/user/learningHistory/v1, allowChunking=null, resourcePath=learninghistorys, proxyType=default, proxyHost=null, allowRequestHeaders=null, keyPredicate=null, proxyPort=null, isMappedXml=true, requestHeaders={Accept=application/json;odata.metadata=minimal, SAP-PASSPORT=2A54482A0300E600004350490000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004D657373616765526563657074696F6E00000000000000000000000000000000000000000000000000004350495F65343030303338000000000000000000000000000000000000000000363737386166313433656530346538316230306...
Detail OAuth credentials:
Details of the communication receiver
Someone know the cause error?
In test done in postman worked perfectly.
Regards,
Leandro Machado.
Hi Leandro
The SFSF adapter is really horrendous to troubleshoot.
If you are planning to use the adapter extensively in your development, I would suggest you route the traffic through a proxy so that you can trace the actual HTTP traffic. One approach you can use is introducing a reverse proxy as detailed in the blog below:-
https://blogs.sap.com/2019/01/01/blog-series-https-tracing-and-debugging-a-simple-way/
Now, to your issue, your OAuth credential is not configured correctly, particularly the Scope field. This needs to be just the JSON content in the scope field, example:-
{"userId":"<user id of lms tenant>","companyId":"<client id of lms tenant ","userType":"admin","resourceType":"learning_public_api"}
Refer following link for further details:-
Regards
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Eng Swee Yeoh,
I followed your directions and worked properly. I had given control + c and control + c from the postman.
Very good for help me.
Regards
Leandro Machado.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
3 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.