Skip to content

Instantly share code, notes, and snippets.

@jeffreywalter
Created April 3, 2012 18:42
Show Gist options
  • Save jeffreywalter/2294564 to your computer and use it in GitHub Desktop.
Save jeffreywalter/2294564 to your computer and use it in GitHub Desktop.
error response
HTTP/1.1 400 Bad Request
Content-Length: 0
<?xml version="1.0" encoding="UTF-8"?>
<ErrorResponse>
<Error code="1000">illegal title_long format</Error>
<Error code="1000">illegal genre format</Error>
</ErrorResponse>
@jeffreywalter
Copy link
Author

How about this?

HTTP/1.1 400 Bad Request
Content-Length: 0

"Element 'TitleBrief': [facet 'maxLength'] The value has a length of '11'; this exceeds the allowed maximum length of '1'." "Element 'CategoryRef', attribute 'uriId': 'source.cp.com/Category/InDemand/Movies A-Z' is not a valid value of the atomic type 'URIIdType'."

@hashrocketeer
Copy link

Did you mean this?

HTTP/1.1 400 Bad Request
Content-Length: 0

<?xml version="1.0" encoding="UTF-8"?>
<ErrorResponse>
<Error code="1000">Element 'TitleBrief': [facet 'maxLength'] The value has a length of '11'; this exceeds the allowed maximum length of '1'.</Error>
<Error code="1000">Element 'CategoryRef', attribute 'uriId': 'source.cp.com/Category/InDemand/Movies A-Z' is not a valid value of the atomic type 'URIIdType'.</Error>
</ErrorResponse>

@jeffreywalter
Copy link
Author

Yeah, exactly. Oops...gisting while in a meeting fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment