Troubleshoot AgentCore Web Search
Errors
The following table lists the errors that the InvokeWebSearch API returns and what you can do about each one. Error responses include a message field. A ValidationException also includes a reason field.
| Error | HTTP status | Cause | What to do |
|---|---|---|---|
|
|
400 |
The request doesn’t meet the rules in Request fields. For example, |
Correct the request, and then send it again. |
|
|
403 |
The caller doesn’t have the |
Grant the |
|
|
403 |
The request isn’t signed, the credentials aren’t valid or have expired, or the request is signed for a different Region or service. |
Call the API with an Amazon SDK or the Amazon Command Line Interface (Amazon CLI) and current credentials. If you sign requests yourself, sign them with Amazon Signature Version 4 (SigV4) for the service name |
|
|
404 |
The |
Set |
|
|
429 |
Your account sent requests faster than its quota for the API allows, or the service is temporarily limiting requests. |
Retry the request with exponential backoff. If you need a higher rate, request a quota increase. For more information about the quota, see Quotas. |
|
|
500 |
The service had an internal error. |
Retry the request with exponential backoff. |
|
|
503 |
The service can’t handle the request right now. |
Retry the request. If the response includes |