Amazon Product Advertising API Developer's Manual page 87

Api version 2011-08-01
Table of Contents

Advertisement

Product Advertising API Developer Guide
Problem
Incorrect parameters supplied
Invalid values
Empty result
Network or processing error
Partial request errors
When one of these errors occurs, the IsValid value is False and Product Advertising API returns an error
element in the Request Validation segment. The error element includes:
• Error code—The title of the error
• Error message—A brief description of the error condition
The following example shows an error message.
Responses
Description
The request is missing parameters that an
operation requires, or the combination of
parameters is not allowed, or the Service parameter
was omitted.
In this case, the IsValid value is "False" and the
request is not processed by Product Advertising
API. Common mistakes that cause these errors are
spaces in the URL that prevent Product Advertising
API from reading the entire request, or misspelled
and mis-capitalized parameter names or values.
If you inadvertently enter a space in a request, your
browser automatically enters the URL-encoded
form of a space: %20. For example, if you paste,
ItemId= B12345, into your browser as part of a
request, the URL field in the browser shows,
ItemId=%20B12345.
The request might be syntactically correct but the
values for one or more parameters might be invalid.
For example, you might supply an ItemId value that
does not match any item sold on Amazon.
In this case, the IsValid value is "True" but an error
message is returned that says that the value is "not
a valid value for ItemId. Please change this value
and retry your request."
The request is valid but there is no data that
matches the search criteria.
In this case, the IsValid value is "True." Remember
that parameter names and values are case
sensitive.
The request is valid but a network outage or
processing failure has caused Product Advertising
API to return an empty response.
In this case, the IsValid value is "True."
Product Advertising API returns as much
information as possible. For example, if you use a
batch request and Product Advertising API finds
items for one request but not the other, Product
Advertising API returns all of the information for the
found item and an error message for the other
request.
API Version 2011-08-01
80

Advertisement

Table of Contents
loading

Table of Contents