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

Não consigo aceitar convite para grupos #694

Open
1 task done
odraude7 opened this issue Jul 13, 2024 · 0 comments
Open
1 task done

Não consigo aceitar convite para grupos #694

odraude7 opened this issue Jul 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@odraude7
Copy link

odraude7 commented Jul 13, 2024

Welcome!

  • Yes, I have searched for similar issues on GitHub and found none.

What did you do?

Estou com problema com a função de aceitar convite para grupo.

Estou utilizando a rota:
{{baseUrl}}/group/acceptInviteCode/{{instance}}?inviteCode={{inviteCode}}

E estou passando o inviteCode que recebo no groupInviteMessage.

Mas é retornado error

What did you expect?

Que seja possível aceitar convites para grupos

What did you observe instead of what you expected?

Porém Ao enviar a requisição vi me retorna o seguinte erro:

400 - "{\"status\":400,\"error\":\"Bad Request\",\"response\":{\"message\":[{\"property\":\"inviteCode\",\"message\":\"inviteCode does not match pattern \\\"^[a-zA-Z0-9]{22}$\\\"\"}]}}"

Já testei várias vezes e o inviteCode que eu recebo sempre tem 16 caracteres e não é apenas alfanumérico. Ou seja, realmente não passa no pattern, mas é o que está chegando pra mim.

Screenshots/Videos

No response

Which version of the API are you using?

1.8.2

What is your environment?

Linux

Other environment specifications

No response

If applicable, paste the log output

No response

Additional Notes

No response

@odraude7 odraude7 added the bug Something isn't working label Jul 13, 2024
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

1 participant