Sample messages for element errors are shown below
Error Message |
Resolution |
Element Validation |
|
url: Invalid URL format (<value>). |
URL format must be as follows: http://<baseUrl>/rest/3.0/?parameters |
<scope>: Invalid value (<value>). |
Element must be set to one of these values: ALL, LIMIT, SUBDOMAIN or DOMAINS. |
domains: Element is required when scope is set to: DOMAINS. |
Specify the domains to include in the web application scope in the “domains” element. |
subDomain: Element is required when scope is set to: SUBDOMAIN. |
Specify the subdomains to include in the web application scope in the “subDomain” element. |
subDomain: Invalid domain name format (<value>). |
Use following format in the “subDomain” element: .my.domain.suffix (must start with a dot) |
useRobots: Invalid value (<value>). |
Element “userRobots” must be set to one of these values: IGNORE, ADD_PATHS, BLACKLIST. |
Url: Element is required |
Element “Url” is required. |
uris.<field>: Invalid URL format (<value>).
|
For the uri.<field> sub element, specify a URL like http://domain.name/base/url/?parameters |
uris.<field>: Length of the field must not be greater than 2048 characters. (<value>). |
For the uri.<field> sub element, the maximum field length is 2048 characters. |
Domain: Element is required |
The domain element must be provided. |
Domain: Invalid host name format (<value>). |
Use following format for value in the “Domain” element: www.my.domain.example. |
Length of all domains cannot exceed 2048 characters. |
The list of all domains in the web application cannot exceed 2048 characters. |
Attribute.category: Element is required. |
The element Attribute.category is required. |
Attribute.category: Invalid value (<value>). |
Element Attribute.category must be set to one of these values: Business Function, Business Location, Business Description. |
Attribute.value: Element is required. |
Provide a value for the attribute in the Attribute.value element: function, location or description. |
The attribute length cannot be greater than 64 characters. |
The value for this attribute cannot exceed 64 characters. |
The attribute length cannot be greater than 2048 characters. |
The value for this attribute cannot exceed 2048 characters. |
<element>: Element must not be set. |
This element does not apply to this request. |
set: Element must contain at least one child. |
The set element requires at least one sub element. |
At least one of the following elements must be set: set, add, remove. |
This request requires at least one of these elements: set, add or remove. |
headers: Length of all headers cannot exceed 2048 characters. |
The values of all headers cannot exceed 2048 characters. |
At least one of the following elements must be set: set, add, remove. |
For an “update” request you must set at least one of these elements: set, add or remove.
|
UrlEntry: Element is required. |
The element UrlEntry must be provided. |
UrlEntry: Invalid URL format (value). |
Specify a URL like http://domain.name/base/url/?parameters |
<parent>: Length of all [URLs, regular expressions] cannot exceed 2048 characters |
The list of entries for a given type shall not exceed 2048 characters. |
UrlEntry: Only regular expressions are accepted for this element. |
You must provide regular expressions for the element postDataBlackList. |
tags.<element>: Element must not be set. |
The tags element does not apply for this request |
tags.set: Element must contain at least one child. |
At least one sub element must be provided for the element tag.set.
|
Tag.id: Element is required. |
Provide a value for the element Tag.id |
Tag.id: Invalid value (value). |
Value must be an integer set at least to 1. |
Tag: Tag specified by ID <id> does not exist or is not available. |
Provide a value for the element id that corresponds to a valid tag. |