When do synchronous REST API calls to Marketing Cloudtime out? Choose 2.
Salesforce Marketing Cloud Engagement REST API uses different timeout limits depending on the type of operation being performed. Synchronous API calls must complete within the applicable timeout period; otherwise, the request may time out and return an error. Tracking and data retrieval operations have a longer timeout allowance because they may involve processing larger datasets. Non-tracking operations have a shorter timeout limit. Understanding these limits helps developers design reliable integrations and avoid unnecessary synchronous request failures.
Correct Option:
B. 300 seconds for tracking and data retrieve operations.
Tracking and data retrieval operations in Marketing Cloud Engagement can require additional processing time because they retrieve information from tracking systems or other data sources. Salesforce allows synchronous REST API calls for these operations up to 300 seconds. This longer timeout accommodates operations that may involve substantial records or processing requirements. Developers should still optimize API requests, retrieve data in manageable portions, and use asynchronous processing where appropriate to avoid reaching the maximum permitted timeout.
C. 120 seconds for non-tracking operations.
Non-tracking REST API operations have a shorter synchronous timeout limit of 120 seconds. These operations generally involve activities other than retrieving tracking information or performing data retrieval tasks. Examples include certain configuration, resource management, and other API requests. Developers should ensure that these requests complete within the permitted time. If an operation requires longer processing, asynchronous processing or alternative API approaches should be considered to prevent timeout errors and improve integration reliability.
Incorrect Option:
A. 240 seconds for tracking and data retrieve operations.
This option specifies an incorrect timeout duration for tracking and data retrieval operations. The applicable synchronous timeout limit for these operations is 300 seconds, not 240 seconds. Tracking and data retrieval requests may require additional time because they can involve processing substantial amounts of information. Developers should understand the distinction between tracking-related and non-tracking operations when designing integrations. Choosing 240 seconds would incorrectly represent the documented timeout allowance and could lead to improper expectations about API execution.
D. 240 seconds for non-tracking operations.
This option incorrectly assigns a 240-second timeout to non-tracking REST API operations. The applicable synchronous timeout limit for non-tracking operations is 120 seconds. This shorter duration means developers should avoid designing integrations that depend on lengthy synchronous processing for these requests. If an operation cannot complete within the permitted time, developers should consider asynchronous approaches or optimize the request. Therefore, 240 seconds is not the correct timeout value for non-tracking REST API operations.
Reference:
Salesforce documentation, Marketing Cloud Engagement REST API – Synchronous and Asynchronous Processing, explains synchronous request timeout limits, distinguishing tracking and data retrieval operations from non-tracking operations and describing considerations for designing reliable API integrations.
