whatsapp-api icon indicating copy to clipboard operation
whatsapp-api copied to clipboard

"error": "Invalid API key" and "error": "Some server error"

Open qualimagem opened this issue 1 year ago • 7 comments

I initiate a session and my API key is not recognized, even though it's the same one provided in the .env file. Help me, please.

qualimagem avatar May 07 '24 11:05 qualimagem

Captura de tela de 2024-05-07 08-12-41

qualimagem avatar May 07 '24 11:05 qualimagem

Can you provide more information about your deployment configuration and how to you send the request with it's data.

avoylenko avatar May 09 '24 08:05 avoylenko

Same error with me!

Casmei avatar May 13 '24 04:05 Casmei

Same error here

PHDiniiz avatar May 16 '24 01:05 PHDiniiz

Is it possible to share a simple, reproducible example, so we can help further?

chrishubert avatar May 17 '24 08:05 chrishubert

Just use "your_global_api_key_here" as api key to authorize until you have not "Run the Docker Compose" again after api key change.

daviddr17 avatar Jun 07 '24 00:06 daviddr17

This error appears when you set 'ENABLE_LOCAL_CALLBACK_EXAMPLE' to False. You need to add 'your_key' in this authorization. Captura de tela de 2024-06-07 15-24-10 Captura de tela de 2024-06-07 15-25-14

antonio-carlos-santiago avatar Jun 07 '24 19:06 antonio-carlos-santiago