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

/instance/restart retorna '[object Object]` #992

Open
TiagoGouvea opened this issue Oct 18, 2024 · 1 comment
Open

/instance/restart retorna '[object Object]` #992

TiagoGouvea opened this issue Oct 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@TiagoGouvea
Copy link

TiagoGouvea commented Oct 18, 2024

What did you do?

Quando chamo POST /instance/restart/{name} obtenho

{ error: true, message: '[object Object]' }

O mesmo acontece no manager.

2024-10-18_09-21-00

Aliás, na documentação diz que é PUT ao invés de POST.

Which version of the API are you using?

2.1.1

@TiagoGouvea TiagoGouvea added the bug Something isn't working label Oct 18, 2024
@andersonlemesc
Copy link

O mesmo erro acontece na 2.2.0
ao chamar uma vez o endpoint retorna {
"error": true,
"message": "[object Object]"
}

na segunda vez chamando retorna corretamente,
verifiquei que acontece em vários endpoints
primeira vez que chama
image

segunda vez

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants