Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/31/2024 09:15 AM
Hello Team,
We are seeing the below errors while we are importing the accounts and entitlements for a Salesforce connection using the OTTB connecter:
Accounts:
InvalidBatch : Failed to process query: MALFORMED_QUERY: unexpected token: 'Id,' |
Entitlements:
InvalidBatch : Failed to process query: MALFORMED_QUERY: unexpected token: 'Assignee.id,' |
Postman response for Accounts:
Postman response for Entitlements:
Solved! Go to Solution.
07/31/2024 09:25 AM
You have issue with query "ACCOUNT_FIELD_QUERY"
07/31/2024 09:36 AM
Hello @rushikeshvartak,
I updated the values as below, but still facing the same error:
id, Username, familyName, givenName, Name, CompanyName, Email, IsActive, UserRoleId, ProfileId, UserType, ManagerId, LastLoginDate, LastPasswordChangeDate, CreatedDate, CreatedById, LastModifiedDate, LastModifiedById, SystemModstamp, ContactId, AccountId, FederationIdentifier, UserPermissionsSupportUser,Fortive_ID__C
Error: InvalidBatch : Failed to process query: MALFORMED_QUERY: unexpected token: 'id,'
Regards,
Vidhi.
07/31/2024 10:21 AM
i should be capital
Id, Username, familyName, givenName, Name, CompanyName, Email, IsActive, UserRoleId, ProfileId, UserType, ManagerId, LastLoginDate, LastPasswordChangeDate, CreatedDate, CreatedById, LastModifiedDate, LastModifiedById, SystemModstamp, ContactId, AccountId, FederationIdentifier, UserPermissionsSupportUser,Fortive_ID__C
07/31/2024 02:30 PM
Hello @rushikeshvartak,
Still facing the same issue while importing. Kindly note, some entitlements have got imported but not all and it is showing the same error. Any other issue cld be there?
Regards,
Vidhi.
07/31/2024 06:32 PM
Share logs
07/31/2024 10:31 PM
07/31/2024 10:33 PM
Logs are not relevant not able to find salesforce query "familyName"
07/31/2024 10:40 PM
08/01/2024 10:05 PM
Provide line above and below of logs click on right corner arrow
08/05/2024 12:25 AM - last edited on 08/05/2024 02:18 AM by Sunil
Hello @rushikeshvartak ,
I am getting only this details in sequential logs as well:
https://domain.service-now.com/nav_to.do?uri=%2Fhome_splash.do%3Fsysparm_direct%3Dtrue
Regards,
Vidhi.
[This message has been edited by moderator to mask sensitive information]
08/05/2024 02:19 AM
‼️‼️⚠️Keep company-specific private information masked on public forums, such as the name and URL.⚠️‼️‼️
share logs in file
08/05/2024 02:32 AM
08/05/2024 07:15 PM
logs does not have any useful information
10/07/2024 03:52 AM
Hello All,
The issue has been identified. Instead of ACCOUNT_FIELD_QUERY we had updated the details in the ACCOUNT_FILTER_QUERY. Once the change was made the accounts and entitlements got imported correctly.
Regards,
Vidhi.
10/07/2024 06:03 AM
What was issue ? And share final working configuration
10/07/2024 09:43 AM
Hello @rushikeshvartak,
The below query was updated incorrectly:
Correct update:
ACCOUNT_FIELD_QUERY: Id, Username, FirstName, LastName, Name, CompanyName, Email, IsActive, UserRoleId, ProfileId, UserType, ManagerId, LastLoginDate, LastPasswordChangeDate, CreatedDate, CreatedById, LastModifiedDate, LastModifiedById, SystemModstamp, ContactId, AccountId, FederationIdentifier, UserPermissionsSupportUser
Incorrect Query:
ACCOUNT_FILTER_QUERY: Id, Username, FirstName, LastName, Name, CompanyName, Email, IsActive, UserRoleId, ProfileId, UserType, ManagerId, LastLoginDate, LastPasswordChangeDate, CreatedDate, CreatedById, LastModifiedDate, LastModifiedById, SystemModstamp, ContactId, AccountId, FederationIdentifier, UserPermissionsSupportUser
Regards,
Vidhi.