Skip to main content

Possible errors:

Error in token

If the signature of the string_to_sign is incorrect, an error will be shown related to theencoded_header_token:

STATUS
401
Response Body
{
"title": "QI Unauthenticated",
"description": "Please provide valid credentials as part of the request. (Documentation: https://qitech.com.br/documentation) Details: Failed while decoding the authentication token",
"translation": "Por favor forneça credenciais válidas como parte da request. (Documentação: https://qitech.com.br/documentation) Detalhes: Falha ao decodificar o token de autenticação",
"code": "GDF000014"
}

Error inAPI_KEY

If the API_KEY is not sent in the header, the following error will be shown:

STATUS
400
Response Body
{
"title": "Bad Request",
"description": "No API Client Key received",
"translation": "Nenhuma chave de API do cliente recebida",
"code": "GDF000003"
}

Incorrect API_KEY

If the API_KEY sent does not match the API_KEY displayed in the QI Tech front end after key registration, the following response will be returned:

STATUS
404
Response Body
  {
"code": "GDF000018",
"title": "Not Found",
"description": "No ClientIntegration found for api_client_key: {api_client_key}.",
"translation": "Nenhuma ClientIntegration encontrada para api_client_key: {api_client_key}."
}

Unauthorized endpoint

If the accessed endpoint or method is unauthorized, the following error will be returned:

STATUS
401
Response Body
{
"title": "QI Unauthenticated",
"description": "Please provide valid credentials as part of the request. (Documentation: https://qitech.com.br/documentation) Details: Endpoint or HTTP method not allowed for the given ClientIntegration (Action: POST /debt)",
"translation": "Por favor forneça credenciais válidas como parte da request. (Documentação: https://qitech.com.br/documentation) Detalhes: Endpoint ou método HTTP não permitido para a ClientIntegration fornecida (Action: POST /debt)",
"code": "GDF000014"
}
Attention!

To request access to the endpoint that returned the mentioned error, it is necessary to ask for authorization from the QI Tech support team.:::