Error responses

Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:06:20 +0000.
Sender:Chris Toomey.
Date:Friday, 13 February 2015 19:51:20 UTC.

What HTTP status codes does Tyk return for the various errors, e.g., invalid/expired token, quota exceeded, disallowed access to endpoint?

Also, is there a response body and any ability to customize that?

thx,
Chris

Imported Google Group message.
Sender:Martin Buhr.
Date:Friday, 13 February 2015 21:40:25 UTC.

Hi Chris,

There is an error template for major responses, I’m not sure if it’s used universally, but it is applied to most error responses:

Thanks,
Martin

On 13 Feb 2015, at 21:33, Chris Toomey [email protected] wrote:

Thanks Martin. What is the error response body like, and can it be customized?

Chris


You received this message because you are subscribed to the Google Groups “Tyk Community Support” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web, visit https://groups.google.com/d/msgid/tyk-community-support/9375d00a-ea1f-4ef7-89b1-904caa82b443%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Imported Google Group message.
Sender:Chris Toomey.
Date:Friday, 13 February 2015 21:01:21 UTC.

Hi Chris,

Tyk tries to respond with sensible codes where possible, there are quite a few error states, so listing them all would be quite the challenge :wink:

Thanks,
Martin

  • show quoted text -

  • show quoted text -


You received this message because you are subscribed to the Google Groups “Tyk Community Support” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web, visit https://groups.google.com/d/msgid/tyk-community-support/471c95f4-78ed-4357-8277-3a513752eb62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Imported Google Group message.
Sender:Martin Buhr.
Date:Friday, 13 February 2015 21:33:49 UTC.

Thanks Martin. What is the error response body like, and can it be customized?

Chris

Imported Google Group message.
Sender:Chris Toomey.
Date:Friday, 13 February 2015 21:40:25 UTC.

Hi Chris,

There is an error template for major responses, I’m not sure if it’s used universally, but it is applied to most error responses:

Thanks,
Martin

On 13 Feb 2015, at 21:33, Chris Toomey [email protected] wrote:

Thanks Martin. What is the error response body like, and can it be customized?

Chris


You received this message because you are subscribed to the Google Groups “Tyk Community Support” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web, visit https://groups.google.com/d/msgid/tyk-community-support/9375d00a-ea1f-4ef7-89b1-904caa82b443%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.