WhiskeySockets / Baileys

Lightweight full-featured typescript/javascript WhatsApp Web API
https://baileys.whiskeysockets.io/
MIT License
3.63k stars 1.23k forks source link

[BUG] Update Profile Name #36

Closed moskoweb closed 1 year ago

moskoweb commented 1 year ago

Describe the bug When trying to change the profile name, it returns the following error:

{
    "statusCode": 404,
    "error": "Not Found",
    "message": "myAppStateKey (\"AAAAALVm\") not present"
}

To Reproduce Steps to reproduce the behavior:

  1. Created a new connection
  2. Use instance.socket?.updateProfileName("New Name")
andresayac commented 1 year ago

I have not been able to recreate in two whatsapp accounts each one different business and normal

Whatsapp BUSSINES image

Whatsapp Not Bussines image

image

w3nder commented 1 year ago

It's working normally here too.

edgardmessias commented 1 year ago

Please, reopen if this still happening

danilo-pimentel commented 12 months ago

Describe the bug When trying to change the profile name, it returns the following error:

{
    "statusCode": 404,
    "error": "Not Found",
    "message": "myAppStateKey (\"AAAAALVm\") not present"
}

To Reproduce Steps to reproduce the behavior:

  1. Created a new connection
  2. Use instance.socket?.updateProfileName("New Name")

Same issue for me:

{ "status": 500, "error": "Internal Server Error", "response": { "message": [ "Error updating profile name", "Error: myAppStateKey (\"AAAAAKNl\") not present" ] } }

DRIMOL commented 10 months ago

Acontece comigo tambem

{ "status": 500, "error": "Internal Server Error", "response": { "message": [ "Error updating profile name", "Error: myAppStateKey (\"AAAAADoC\") not present" ] } }

stactus commented 9 months ago

I had problems here too, apparently it's only on WhatsApp Business, on Messenger it updates normally.

See the return below:

{
    "status": 500,
    "error": "Internal Server Error",
    "response": {
        "message": [
            "Error updating profile name",
            "Error: myAppStateKey (\"AAAAAGdq\") not present"
        ]
    }
}