ExamGecko
Question list
Search
Search

List of questions

Search

Question 58 - Certified Order Management Administrator discussion

Report
Export

An administrator is encountering errors when reusing a composite API call to load test orders via the Workbench. What are three possible causes of this issue?

A.
The administrator has duplicate Product SKUs in the JSON query
Answers
A.
The administrator has duplicate Product SKUs in the JSON query
B.
The number of subrequests in the JSON query exceeds the 20 subrequest limit
Answers
B.
The number of subrequests in the JSON query exceeds the 20 subrequest limit
C.
The Administrator has logged into the wrong environment in Workbench
Answers
C.
The Administrator has logged into the wrong environment in Workbench
D.
The administrator is creating multiple objects in a single JSON query
Answers
D.
The administrator is creating multiple objects in a single JSON query
E.
Record IDs used within the request are incorrect
Answers
E.
Record IDs used within the request are incorrect
Suggested answer: A, B, E

Explanation:

Three possible causes of this issue are:

The administrator has duplicate Product SKUs in the JSON query. A Product SKU is a unique identifier for a product that is used to track inventory and sales. A Product SKU must be unique within an org, and it cannot be duplicated in a composite API call. If the administrator has duplicate Product SKUs in the JSON query, it will cause an error when loading test orders via the Workbench.

The number of subrequests in the JSON query exceeds the 20 subrequest limit. A subrequest is a single HTTP request that is part of a composite API call. A composite API call can contain up to 20 subrequests in a single JSON body. If the administrator has more than 20 subrequests in the JSON query, it will cause an error when loading test orders via the Workbench.

Record IDs used within the request are incorrect. A record ID is a unique identifier for a record that is used to reference and manipulate data in Salesforce. A record ID must be valid and exist in the org, and it must match the data type and format of the corresponding field. If the administrator has incorrect record IDs in the JSON query, such as using 15-character IDs instead of 18-character IDs, or using IDs from a different org, it will cause an error when loading test orders via the Workbench.

Verified

Reference: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_composite.htm https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_composite_sobject_tree_flat.htm

asked 23/09/2024
Tiago Carvalho
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first