You need to sign in to do that
Don't have an account?
Abhishek Kumar 338
How do i save error reposnse in salesforce log file when api calling failed.
Consumig one API, i need to save errror response in salesforce inbuilt functionality such as log file. suggest if any.
I am using custom field to save true/false in case api pass/fails.
I am using custom field to save true/false in case api pass/fails.
Salesforce doen't provide any standard Error logging framework.
In order to capture the errors you can introduce an 'Error Logging' object that would be associated with the record and would capture the failure message.
Or if you know that your record would be synced only once to an external system then keep a text area on the record itself to capture error response like the status field.
Cheers!!!