API Errors: Marketo 'Lead not found'

This error will either appear in your Dashboard's activity feed or in your  Transaction Report

Error Message Example

422 Unprocessable Entity / upstream error / {'upstreamError': 'OK', 'upstreamCode': 200, 'upstreamDetail': {'requestId': '159d5#16374916c87', 'success': True, 'result': [{'reasons': [{'message': 'Lead not found', 'code': '1004'}], 'status': 'skipped'}]}}

This means that you removed a record from your Marketo database yet Bedrock still has it stored in our INDEX so we are still trying to process updates to this record. 

How to Resolve 

In some cases customers may not necessarily want this issue to be resolved. If you removed the record from your Marketo database it was likely due to a specific reason and therefore you may not want it added back in to your Marketo database. If this is the case, then there are no actions you need to take with this error. 

However, there will likely come a time when you want to run a reset for your Bedrock integration. This process will remove the historical Marketo record from Bedrock and therefore freeing up the record from your other system to sync back over to Marketo if it passes one of your Workflow rules. To avoid this from happening, we recommend putting in place a process such as the one we outline in this help article

Still need help? Contact Us Contact Us