Overview
Error codes are used to determine specific exceptional situations and provide additional information. It may be unauthorized access, illegal request or something else. Each error code are built upon following principles:
Error code | Product prefix | Group of errors | Error |
---|---|---|---|
GK-000-0001 |
GK - it means GadgetKeeper product |
000 - group of general errors | 0001 - code of error (it's "authentication required" error, for example) |
GK-000-0001
It's "Authentication required" error code. It means that you have to authenticate before make your request to GadgetKeeper. There are few ways to do that:
- Authenticate via providing username and password
- Providing API key
GK-000-0002
It's "Forbidden" error code.
GK-000-0003
It's "Invalid request" error code.
GK-000-0004
It's "Resource is not found" error code.
GK-000-0005
It's "Internal error" error code.