Instantly share code, notes, and snippets.

Embed
What would you like to do?
HTTP status codes used by world-famous APIs
API Status Codes
Twitter 200, 304, 400, 401, 403, 404, 406, 410, 420, 422, 429, 500, 502, 503, 504
Stripe 200, 400, 401, 402, 404, 429, 500, 502, 503, 504
Github 200, 400, 422, 301, 302, 304, 307, 401, 403
Pagerduty 200, 201, 204, 400, 401, 403, 404, 408, 500
NewRelic Plugins 200, 400, 403, 404, 405, 413, 500, 502, 503, 503
Etsy 200, 201, 400, 403, 404, 500, 503
Dropbox 200, 400, 401, 403, 404, 405, 429, 503, 507
Spotify 200, 201, 204, 304, 400, 401, 403, 404, 429, 500, 502, 503
Google Cloud 200, 301, 304, 307, 308, 400, 401, 403, 404, 405, 409, 411, 412, 416, 429, 500, 501, 503
HipChat 200, 201, 202, 400, 401, 403, 404, 405, 429, 500, 503
Telegram 200, 303, 400, 401, 403, 404, 420, 500
Pocket 200, 400, 401, 403, 503
Uber 200, 201, 400, 401, 403, 404, 406, 409, 422, 429, 500

Used by either one of them: 200, 201, 202, 204, 301, 302, 303, 304, 307, 308, 400, 401, 402, 403, 404, 405, 406, 408, 409, 410, 411, 412, 413, 416, 420, 422, 429, 500, 501, 502, 503, 504, 507

Used by at least two of them: 200, 201, 204, 301, 304, 307, 400, 401, 403, 404, 405, 406, 409, 420, 422, 429, 500, 502, 503, 504

Used by at least three of them: 200, 201, 304, 400, 401, 403, 404, 405, 422, 429, 500, 502, 503

Used by at least four of them: 200, 201, 304, 400, 401, 403, 404, 405, 429, 500, 502, 503

Used by at least five of them: 200, 201, 400, 401, 403, 404, 405, 429, 500, 503

Used by all of them: 200, 400

@rocco

This comment has been minimized.

Show comment
Hide comment
@rocco

rocco Feb 5, 2016

I found this Gist here: http://racksburg.com/choosing-an-http-status-code/ - great read on the topic too.

rocco commented Feb 5, 2016

I found this Gist here: http://racksburg.com/choosing-an-http-status-code/ - great read on the topic too.

@JohnBugner

This comment has been minimized.

Show comment
Hide comment
@JohnBugner

JohnBugner Aug 22, 2016

Google Cloud's link leads to Spotify's API. I think it was meant to lead to: https://cloud.google.com/storage/docs/xml-api/reference-status#http-status-and-error-codes . This is the XML API, but there's apparently a slightly different API for JSON: https://cloud.google.com/storage/docs/json_api/v1/status-codes#http-status-and-error-codes

JohnBugner commented Aug 22, 2016

Google Cloud's link leads to Spotify's API. I think it was meant to lead to: https://cloud.google.com/storage/docs/xml-api/reference-status#http-status-and-error-codes . This is the XML API, but there's apparently a slightly different API for JSON: https://cloud.google.com/storage/docs/json_api/v1/status-codes#http-status-and-error-codes

@paulohfcanuto

This comment has been minimized.

Show comment
Hide comment
@paulohfcanuto

paulohfcanuto commented Apr 6, 2017

@dungsaga

This comment has been minimized.

Show comment
Hide comment
@dungsaga

dungsaga Aug 3, 2017

https://httpstatuses.com/ is easier to read and has links to sections in RFC document.

dungsaga commented Aug 3, 2017

https://httpstatuses.com/ is easier to read and has links to sections in RFC document.

@SteveOnorato

This comment has been minimized.

Show comment
Hide comment
@dret

This comment has been minimized.

Show comment
Hide comment
@dret

dret Feb 14, 2018

in case you're interested in a list that has links to all specifications and is available in machine-readable format as well: http://webconcepts.info/concepts/http-status-code/

dret commented Feb 14, 2018

in case you're interested in a list that has links to all specifications and is available in machine-readable format as well: http://webconcepts.info/concepts/http-status-code/

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