Hi,
I am trying to use syncRecords() to sync a service backed record. But it is every time returning error
The error is
Dictionary errorMessage: "An error occurred while syncing record type [name=PS Complaint Service]. Details: Unable to sync due to an error in the sync expression. (APNX-1-4521-040)".
In the Identifers I have tointeger as well but didn't work
Discussion posts and replies are publicly visible
Did you try to start a manual full sync from the records editor?
kumark4975 As you are passing {"identifiers":[2]} as body make sure value 2 identifier should exist.
i am with stefan here. It sounds like there is a generel issue with the sync to the service. i double checked the above implementation with a DB backed record i knew was working fine. this looks good. so the issue is less on the webapi side.
Yes I have tried that and it worked fine
Yes the identifier exists
Did you try to call a!syncRecords() manually? E.g. in a button saveInto? That might be easier to test.
I tried calling that and it didn't worked in the button saveinto, same error I got there as well
i think he means no saveInto action:rather if your recordtype is fully synced