Errors that the AWS AppConfig extension in AWS Systems Manager Cloud Extensions returns
The AWS AppConfig extension returns errors in a standard format.
Every error response has an X-Amzn-Errortype header with the name of the error, and a JSON body with __type, message, and, for most errors, reason:
{"__type":"error","message":"text","reason":"reason"}
| Error | HTTP status | Reason | Retryable | When |
|---|---|---|---|---|
|
|
400 |
|
No |
A parameter is missing or doesn't meet its constraints ( |
|
|
400 |
|
No |
The body isn't JSON, or doesn't have the shape of the input. |
|
|
400 |
|
No |
The |
|
|
403 |
|
No |
AWS AppConfig refused the role of the extension, or rejected its credentials. |
|
|
403 |
|
No |
The profile requires signed requests, and the request isn't signed with credentials that the profile accepts. |
|
|
429 |
|
Yes |
AWS AppConfig throttled the call. |
|
|
502 |
|
No |
The settings of the profile entry aren't valid, and the extension didn't start. |
|
|
500 |
None |
Yes |
AWS AppConfig returned an internal error, or the extension couldn't read the flag data. The extension also returns this error, with the message |
|
|
503 |
|
Yes |
The extension is still loading, or a settings update replaced it during the call. |
The problem of a semanticError is one of the following:
| Problem | item |
When |
|---|---|---|
|
|
The type that AWS AppConfig didn't find: |
The application, environment, or configuration profile doesn't exist, or you haven't deployed anything to the environment. |
|
|
|
|
|
|
|
|
|
|
None |
AWS AppConfig rejected the request for another reason. The message is the message of AWS AppConfig. |
If a setting isn't valid, for example a Poll interval of 0, every request returns the following error:
{"__type":"BadGatewayException","extension":"appconfig","message":"Versionversionof the extension 'appconfig' failed to initialize. Check its settings, or use an earlier version.","reason":"EXTENSION_INITIALIZE_FAILED","version":"version"}