Amazon Q Business will no longer be open to new customers starting on July 31, 2026. If you would like to use the service, please sign up prior to July 30. For capabilities similar to Q Business, explore Amazon Quick. Learn more.
Understand error codes in the AEM (Cloud) connector
The following table provides information about error codes you may see for the AEM (Cloud) connector and suggested resolutions.
| Error code | Error message | Suggested resolution |
|---|---|---|
| AEM-5001 | Error while getting Administrators group. Below are the possible reasons for this error: Provided AEM host URL might be wrong. Provided username and password are invalid or user is non-admin user. | Check whether provided username and password are correct or not. Also ensure that the provided user is either admin or belongs to administrators’ group. |
| AEM-5002 | Error while generating OAuth2 access token. | Provide valid OAuth2 credentials. |
| AEM-5103 | Null/empty AEM host URL. | AEM host URL should not be null or empty. |
| AEM-5104 | Error while parsing https response. Below are the possible reasons
for this error. 1. Provided AEM host URL might be wrong, please cross-check the AEM host URL. 2. AEM server is down or not reachable. |
Provide a valid host URL, or try again later. |
| AEM-5105 | Provided authType is incorrect. | Auth type should be Basic or OAuth2. |
| AEM-5106 | Null/empty AEM username. | Username should not be null or empty value. |
| AEM-5107 | Null/empty AEM password. | Password should not be null or empty value. |
| AEM-5108 | Null/empty client id. | Client Id should not be null or empty value. |
| AEM-5109 | Null/empty client secret. | Client Secret should not be null or empty value. |
| AEM-5110 | Null/empty private key. | Private key should not be null or empty value. |
| AEM-5111 | Null/empty Page Index field name. | Page index field should not be null or empty value |
| AEM-5112 | Null/empty Page data source field name. | Page data source field should not be null or empty value. |
| AEM-5113 | Null/empty asset Index field name. | Asset index field should not be null or empty value. |
| AEM-5114 | Null/empty asset data source field name. | Asset data source field should not be null or empty value. |
| AEM-5115 | Null/empty crawl type. | crawl Type value should be FULL_CRAWL/CHANG_LOG type. |
| AEM-5116 | Invalid AEM host URL format. | Check whether provided AEM URL is in correct format or not e.g. http<s>://<aem-host>:<port> |
| AEM-5117 | Page root paths are incorrect. | Page root paths must be a list of strings. |
| AEM-5118 | Asset root paths are incorrect. | Asset root paths must be a list of strings. |
| AEM-5119 | Page path inclusion or exclusion patterns are incorrect. | Page name inclusion patterns/Exclusion must be a list of strings. |
| AEM-5120 | Asset path inclusion or exclusion patterns are incorrect. | Asset name inclusion patterns/Exclusion must be a list of strings. |
| AEM-5121 | Provided deploymentype is incorrect. | Deployment type should be either CLOUD or ON_PREMISE. |
| AEM-5122 | Provided orgId is incorrect. | OrgId should not be null or empty value. |
| AEM-5123 | Provided technicalAccount Id is incorrect. | Technical Account Id should not be null or empty value. |
| AEM-5124 | Provided imsHost is incorrect. | IMS Host should not be null or empty value. |
| AEM-5125 | Null/Empty deployment type. | Deployment type should be either CLOUD or ON_PREMISE. |
| AEM-5126 | Invalid Timezone Id. | Provide a valid timezone id. |
| AEM-5127 | Null/empty asset Index field type. | Asset index field should not be null or empty value. |
| AEM-5128 | Null/empty page Index field type. | Page index field should not be null or empty value. |
| AEM-5129 | DataSourceFieldName doesn't match with IndexFieldType. | Provide a valid asset indexFieldType for the provided asset dataSourceFieldName. Or, provide a valid page indexFieldType for the provided page dataSourceFieldName. |
| AEM-5130 | Protocol used by provided AEM URL is not supported by AEM connector. | Only https protocol is supported by AEM connector. Provide an AEM URL based on https protocol. |
| AEM-5131 | AEM password is too large. | Password should not be greater than 40 characters. |
| AEM-5132 | AEM client ID is too large. | Client ID should not be greater than 40 characters. |
| AEM-5133 | AEM client secret is too large. | Client secret should not be greater than 40 characters. |
| AEM-5134 | AEM private key is too large. | Private key should not be greater than 2048 characters. |
| AEM-5135 | AEM client ID contains invalid characters. | Client ID should not contain unprintable characters. |
| AEM-5136 | AEM client secret contains invalid characters. | Client secret should not contain unprintable characters. |
| AEM-5137 | AEM private key contains invalid characters. | Private key should not contain unprintable characters. |
| AEM-5138 | AEM IMS host is too large. | IMS host should not be greater than 100 characters. |
| AEM-5139 | AEM technical account ID is too large. | Technical account id should not be greater than 100 characters. |
| AEM-5140 | AEM org ID is too large. | Org id should not be greater than 100 characters. |
| AEM-5141 | Page name inclusion or exclusion patterns are incorrect. | Page name inclusion patterns/Exclusion must be a list of strings. |
| AEM-5142 | Asset name inclusion or exclusion patterns are incorrect. | Asset name inclusion patterns/Exclusion must be a list of strings. |
| AEM-5143 | Asset type inclusion or exclusion patterns are incorrect. | Asset type inclusion patterns/Exclusion must be a list of strings. |
| AEM-5144 | Invalid page root path. Please provide valid page root path. | Page path should start with /content. |
| AEM-5145 | Invalid asset root path. Please provide valid asset root path. | Asset path should start with /content/dam. |
| AEM-5146 | AEM page root paths list size is too large. | Page root paths list size should not be greater than 1000. |
| AEM-5147 | AEM asset root paths list size is too large. | Asset root paths list size should not be greater than 1000. |
| AEM-5148 | Asset root paths list size should not be greater than 1000. | Asset path exclusion patterns list size should not be greater than 1000. |
| AEM-5149 | AEM asset path inclusion pattern list size is too large. | Asset path inclusion patterns list size should not be greater than 1000. |
| AEM-5150 | AEM asset name inclusion pattern list size is too large. | Asset name inclusion patterns list size should not be greater than 1000. |
| AEM-5151 | AEM asset name exclusion pattern list size is too large. | Asset name exclusion patterns list size should not be greater than 1000. |
| AEM-5152 | AEM asset type exclusion pattern list size is too large. | Asset type exclusion patterns list size should not be greater than 1000. |
| AEM-5153 | AEM asset type inclusion pattern list size is too large. | Asset type inclusion patterns list size should not be greater than 1000. |
| AEM-5154 | AEM page name inclusion pattern list size is too large. | Page name inclusion patterns list size should not be greater than 1000. |
| AEM-5155 | AEM page name Exclusion pattern list size is too large. | Page name exclusion patterns list size should not be greater than 1000. |
| AEM-5156 | AEM page path Exclusion pattern list size is too large. | Page path exclusion patterns list size should not be greater than 1000. |
| AEM-5157 | AEM page path inclusion pattern list size is too large. | Page path inclusion patterns list size should not be greater than 1000. |
| AEM-5158 | AEM page components list size is too large. | Page components list size should not be greater than 1000. |
| AEM-5159 | AEM content fragment variations list size is too large. | Content fragment variations list size should not be greater than 1000. |
| AEM-5160 | AEM host URL characters length is too large. | AEM host URL characters length should not be greater than 2048 characters. |
| AEM-5161 | Some of the page root paths exceed the character limit. | Page root path characters length should not be greater than 1000. |
| AEM-5162 | Some of the asset root paths exceed the character limit. | Asset root Path characters length should not be greater than 1000 . |
| AEM-5163 | Some of the asset path exclusion objects exceed the character limit. | Asset path exclusion characters length should not be greater than 1000. |
| AEM-5164 | Some of the asset path inclusion objects exceed the character limit. | Asset path inclusion characters length should not be greater than 1000. |
| AEM-5165 | Some of the asset name inclusion objects exceed the character limit. | Asset name inclusion characters length should not be greater than 1000. |
| AEM-5166 | Some of the asset name exclusion objects exceed the character limit. | Asset name exclusion characters length should not be greater than 1000. |
| AEM-5167 | Some of the asset type exclusion objects exceed the character limit. | Asset type exclusion characters length should not be greater than 1000. |
| AEM-5168 | Some of the asset type inclusion objects exceed the character limit. | Asset type inclusion characters length should not be greater than 1000. |
| AEM-5169 | Some of the page name inclusion objects exceed the character limit. | Page name inclusion characters length should not be greater than 1000. |
| AEM-5170 | Some of the page name exclusion objects exceed the character limit. | Page name exclusion characters length should not be greater than 1000. |
| AEM-5171 | Some of the page path exclusion objects exceed the character limit. | Page path exclusion characters length should not be greater than 1000. |
| AEM-5172 | Some of the page path inclusion objects exceed the character limit. | Page path inclusion characters length should not be greater than 1000. |
| AEM-5300 | Error in serializing change log token. | Retry sync. |
| AEM-5301 | Error in de-serializing change log token. | Retry sync. |
| AEM-5401 | Error occurred while getting AEM groups. | Retry sync. |
| AEM-5501 | Could not connect to host. | |
| AEM-5502 | AEM URL SSRF check failed. | Make sure AEM host URL is not a multicast/local/link-local/loopback address. |
| AEM-5503 | AEM host not found. | Check whether AEM host is up and reachable. |
| AEM-5504 | Error occurred while executing HTTP request against given AEM URL. | Check whether AEM host is up and reachable. |
| AEM-5505 | AEM malformed URL error. | Provide valid AEM url. |
| AEM-5506 | AEM VPC Configuration check failed. | Site local address is restricted. |
| AEM-5507 | Error in creating document attribute. | Only String, String List, Date and Long formats are supported for field mappings. |
| AEM-5200 | Error occurred while getting pages from AEM for Full Crawl. | Check whether AEM server is up and responding to API requests. |
| AEM-5506 | AEM VPC Configuration check failed. | Site local address is restricted. |
| AEM-5201 | Error occurred while getting assets from AEM for Full Crawl. | Check whether AEM server is up and responding to API requests. |
| AEM-5303 | Error occurred while getting pages from AEM for Change Log. | Check whether AEM server is up and responding to API requests. |
| AEM-5304 | Error occurred while getting assets from AEM for Change Log. | Check whether AEM server is up and responding to API requests. |