I am not sure how to test the offline conversions API from our platform code.
1

{ "data": [ { "event_id": 12345, "event_name": "ConvertedLead", "event_time": 1731916924, "user_data": { "lead_id": 105895XXXXX9236284 }, "custom_data": { "currency": "INR", "value": 19, "needId": 12345 }, "action_source": "physical_store" } ], "test_event_code": "TEST50425" }

this is the payload i am testing using graph explorer with original leadIds(status:ACTIVE) but the response is same as below:

{ "error": { "message": "Invalid parameter", "type": "OAuthException", "code": 100, "error_subcode": 2804036, "is_transient": false, "error_user_title": "Invalid lead ID", "error_user_msg": "One or more of your lead IDs is invalid or has been deleted. Your entire batch of events can be rejected if there is one or more invalidlead ID. The lead ID is a unique 15-16 digit number generated by Meta. Go here to find the lead ID to make sure that yours are correct: https://developers.facebook.com/docs/marketing-api/conversions-api/conversion-leads-integration/how-to-find-the-lead-id", "fbtrace_id": "Atlr-yt1Y96_-JpXBJastbK" } }

please tell how to test the offline conversion API while in local development?

Saiteja
Enviada hace una semana aproximadamente