List of /v2/ Errors in JSON Text response?

List of /v2/ Errors in JSON Text response?

in API Development

Posted by: Glyph.7805

Glyph.7805

So far I have

{"text":"invalid key"}
{"text":"endpoint requires authentication"}
{"text":"ErrTimeout"}
{"text":"ErrInternal"}

Is there a full list of error codes? I didn’t see anything on the wiki.

List of /v2/ Errors in JSON Text response?

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

Next

I don’t think there’s one, no. Off the top of my head, you’re missing the page out of range error, and then a handful of errors which indicate something is horribly horribly wrong (e.g., ErrUnknown).

List of /v2/ Errors in JSON Text response?

in API Development

Posted by: darthmaim.6017

darthmaim.6017

There are also {"text":“requires scope x”} and {"error":“not found”}.

List of /v2/ Errors in JSON Text response?

in API Development

Posted by: Glyph.7805

Glyph.7805

x being a variable int?

List of /v2/ Errors in JSON Text response?

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Nah x is the missing scope, e.g. “requires scope characters”. If there’s multiple missing scopes they’re comma-delimited.

List of /v2/ Errors in JSON Text response?

in API Development

Posted by: Glyph.7805

Glyph.7805

As always, you are very helpful Lawton Campbell!
Thank you!