Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status de erro inexistente na Doc #12

Open
webvoxbrazil opened this issue Nov 3, 2021 · 1 comment
Open

Status de erro inexistente na Doc #12

webvoxbrazil opened this issue Nov 3, 2021 · 1 comment

Comments

@webvoxbrazil
Copy link

minha integração está retornando HTTP Response Not OK no arquivo BaseController.php esse retorno se dá pelo seguinte status.
if (($response->getStatusCode() < 200) || ($response->getStatusCode() > 208)) { //[200,208] = HTTP OK throw new APIException('HTTP Response Not OK', $_httpContext); }
mas na doc não encontrei algo em relação a este status
image

Alguém sabe sobre o que se trata este erro? e como posso soluciona-lo?

@julioccguimaraes
Copy link

Dá um print no $response->getStatusCode() para visualizar o código do erro não listado.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants