ÃÛ¶¹ÊÓÆµ Journey Optimizer: External third-party endpoint in custom action times out
When configuring a custom action in ÃÛ¶¹ÊÓÆµ Journey Optimizer (AJO) to call an external third-party endpoint, you can encounter timeout errors. To fix this, verify endpoint accessibility, check server logs, confirm no blocking from ÃÛ¶¹ÊÓÆµ, update endpoint configurations, and test after updates. Be aware of API call timeout specifications.
Description description
Environment
ÃÛ¶¹ÊÓÆµ Journey Optimizer (AJO) (applicable to configurations involving outbound API calls from Journey Optimizer to external endpoints)
Issue/Symptoms
- Timeout errors occur when testing the connection between AJO and an external third-party endpoint.
- The API call doesn’t receive a response within 30 seconds, leading to an automatic timeout as per tool specifications.
- The endpoint is publicly accessible and works for some testers but fails for others when triggered via AJO.
Resolution resolution
To address the timeout issue with the configured endpoint:
- Verify that the external endpoint is publicly accessible and functional by testing its accessibility outside of AJO using tools like Postman or cURL.
- Review server logs to identify any issues or restrictions affecting incoming requests from AJO.
- Confirm that there are no restrictions or blocks from ÃÛ¶¹ÊÓÆµâ€™s end preventing outbound calls from Journey Optimizer. Typically, there are no such blocks unless explicitly configured.
- If issues persist, update configurations on the server hosting the endpoint to ensure proper handling of incoming requests and responses within acceptable timeframes (less than 30 seconds).
- After making updates, retest the connection via Journey Optimizer’s custom action feature to ensure successful communication with the external endpoint.
Note: Any API call initiated by Journey Optimizer will time out if no response is received within 30 seconds. Ensure that your server responds promptly within this timeframe.
Resources
- Throttling APIÂ in the Journey Optimizer Guide
- Integrate with external systems in the Journey Optimizer Guide
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f