11/21/2023 12:31 AM
We have Successfactor url that is being used for all users reconciliation to Saviynt. However when same url is being used for single user then reconciliation is not working. We already checked the url in postman its giving the response. Below is the url we are using for single user recon.
https://api2.successfactors.eu/odata/v2/EmpJob?$select=businessUnit,businessUnitNav/name,companyNav/... eq 'a85****')&userNav/status%20in%20't','f' &$format=json
Please help to check if we are missing something when using the url for specific user.
11/22/2023 10:19 AM
Can you add the url value in a text file and share. Looks like some values are getting trimmed. Also, can you share the log file for the import where you ran for 1 user.
11/24/2023 08:31 AM
@SB Please find the attached url value in the text file and logs. Please suggest next.
11/24/2023 03:48 AM - edited 11/24/2023 03:51 AM
Hi @Diwakar,
There are a few things you might want to check:
Please share details requested by @SB further assitance.
11/24/2023 08:34 AM
There are a few things you might want to check:
Logs and url are shared in the text file as well. Please suggest next.
11/28/2023 01:47 AM
Please try
$filter=employmentNav/userNav/username+eq+'a85****'+and+employmentNav/userNav/status%20in%20't','f' &$format=json
11/28/2023 02:33 AM
Hi @GSR,
Please let me know what you are requesting for.
11/28/2023 02:10 AM - edited 11/28/2023 02:12 AM
Hi @Diwakar,
The logs show an attempt to make a request to the SuccessFactors API endpoint https://api2.successfactors. with a complex query involving various select, expand, and filter parameters. However, the logs indicate an error related to an illegal character in the query at index 2699.
Here are a few observations and suggestions based on the provided logs:
Illegal Character Error: The error suggests there is an illegal character in the query at index 2699. You may want to review the query at that position in the URL to identify and fix any issues with special characters or formatting.
Query Complexity: The query being sent to the SuccessFactors API is quite complex and involves multiple parameters. Ensure that the query is correctly formatted, and all parameters are specified according to the SuccessFactors API documentation.
11/28/2023 02:18 AM
Hi @Diwakar,
Kindly review the updated URL I have provided, where I have implemented some changes. Please validate the modifications and inform us if additional details are required for further clarification. Your prompt feedback is appreciated.
11/28/2023 07:23 AM
I tried with your updated url however its still not working and got some different error in postman only. Please suggest next.
11/28/2023 10:29 AM
Can you escape the $ in your url and then try
\\$
11/29/2023 05:49 AM
@SB I removed $ from the url and then run the postman but its giving some wierd output with some junk values and in Saviynt job is failing. Attaching the url.
11/29/2023 09:28 AM
We don't need to remove the $ but just escape it using \\. So your url value would look something like below only in the JSON created for Saviynt. Please update the $ where ever it is used in the url and then try. If it still does not work, share the url value you tried with in notepad file.
status in ('t','f')&\\$format=json
11/29/2023 11:29 AM
11/29/2023 06:30 PM - edited 11/29/2023 06:32 PM
can you try encoded url
https://api2.successfactors.eu/odata/v2/EmpJob?$select=businessUnit,businessUnitNav/name,companyNav/countryOfRegistrationNav/externalName_defaultValue,companyNav/countryOfRegistrationNav/numericCountryCode,companyNav/externalCode,companyNav/name,costCenter,customString22Nav/externalCode,customString22Nav/externalName_defaultValue,customString44,customString50Nav/externalCode,customString50Nav/externalName,department,departmentNav/name,division,divisionNav/name,emplStatusNav/picklistLabels/label,employeeClassNav/picklistLabels/label,employmentNav/empJobRelationshipNav/lastModifiedOn,employmentNav/endDate,employmentNav/lastModifiedOn,employmentNav/personNav/customString1Nav/externalCode,employmentNav/personNav/emergencyContactNav/lastModifiedOn,employmentNav/personNav/homeAddressNavDEFLT/lastModifiedOn,employmentNav/personNav/lastModifiedOn,employmentNav/personNav/personalInfoNav/customString7Nav/picklistLabels/label,employmentNav/personNav/personalInfoNav/firstName,employmentNav/personNav/personalInfoNav/lastName,employmentNav/personNav/personalInfoNav/middleName,employmentNav/personNav/personalInfoNav/salutationNav/localeLabel,employmentNav/personNav/personalInfoNav/suffixNav/localeLabel,employmentNav/personNav/phoneNav/areaCode,employmentNav/personNav/phoneNav/countryCode,employmentNav/personNav/phoneNav/lastModifiedOn,employmentNav/personNav/phoneNav/phoneNumber,employmentNav/personNav/phoneNav/phoneTypeNav/externalCode,employmentNav/userNav/defaultLocale,employmentNav/userNav/lastModified,eventNav/externalCode,hireDate,isHomeWorker,jobTitle,lastModifiedOn,location,locationNav/addressNavDEFLT/address1,locationNav/addressNavDEFLT/address2,locationNav/addressNavDEFLT/city,locationNav/addressNavDEFLT/zipCode,locationNav/name,managerId,position,positionNav/employeeClassNav/label_defaultValue,positionNav/parentPosition/code,seqNumber,startDate,userId,userNav/email,userNav/lastModified,userNav/teamMembersSize,userNav/status,userNav/username&$expand=businessUnitNav,companyNav/countryOfRegistrationNav,customString22Nav,customString50Nav,departmentNav,divisionNav,emplStatusNav/picklistLabels,employeeClassNav/picklistLabels,employmentNav/empJobRelationshipNav,employmentNav/personNav/customString1Nav,employmentNav/personNav/emergencyContactNav,employmentNav/personNav/homeAddressNavDEFLT,employmentNav/personNav/personalInfoNav/customString7Nav/picklistLabels,employmentNav/personNav/personalInfoNav/salutationNav,employmentNav/personNav/personalInfoNav/suffixNav,employmentNav/personNav/phoneNav/phoneTypeNav,employmentNav/userNav,eventNav,locationNav/addressNavDEFLT,positionNav/employeeClassNav,positionNav/parentPosition,userNav&$filter=startswith(userNav/username,%27a%27)&(userNav/username
11/30/2023 11:38 AM
11/30/2023 08:34 PM
Please recheck url on above post vs what you have updated/
11/30/2023 09:47 PM - edited 11/30/2023 09:49 PM
@rushikeshvartak Can you please re-confirm the url, as it seems to be incomplete, check the last line. Please clarify.