Skip to main content

Error Responses

When the StubHub API returns error messages, it includes a specific error code and possibly a localized error message that can be displayed to a user.

An error might look like this:

{
"code": "validation_failed",
"message": null,
"errors": {
"seller_listing.ticket_price": [
"You must provide either 'ticket_price' or 'ticket_proceeds'"
]
}
}

Error Codes​

CodeStatus CodeDescription
https_required400The request is not using an SSL connection.
user_agent_required400The request does not include a valid User-Agent header.
invalid_request_body400This request does not include a valid JSON body.
insufficient_scope403The access token used in the request does not have the scope required to access this resource.
validation_failed400The request data is not valid. errors will contain an object with a localized message that describes the validation error for each property of the data.
invalid_seller_listing_action403The request is attempting perform an operation on a SellerListing that does not currently support that action.
create_listing_not_allowed403The request is attempting create a listing for an Event that tickets cannot currently be listed for.
invalid_delete403The request is attempting to delete a resource that cannot be deleted.
internal_server_error500Something is broken. We'll get this fixed ASAP!