Tag Archives: 45064: no permission to use weapp in menu rid:XXXXXXX

WeChat develops official account or small program menu 45064: no permission to use weapp in menu rid:XXXXXXX

When WeChat menu was released, the menu was mounted with a small program menu, and a link of small program was added to the official account menu. When it was released, it was 45064 wrong, and the wrong information was as follows:
[error message]: {“errCode”: 45064, “errmsg”: “no permission to use weapp in menu rid: rid:”}

The 45064 error of micro letter is not caused by code problems. After querying, we can get the following points:
1, check whether the official account and the small program are related, do not need to be under one main body, but need to associate related small programs.
2 and official account must be authenticated.
3, not a small program on the same theme, and it needs small programs to associate with the official account. Or exempt Association in applet settings.
4. The applet is not published.

Cause of problem: unbound applet menu is introduced

Create official account or applet format according to official documents.

 {
     "button":[
     {    
          "type":"click",
          "name":"Today Music",
          "key":"V1001_TODAY_MUSIC"
      },
      {
           "name":"Menu",
           "sub_button":[
           {    
               "type":"view",
               "name":"Search",
               "url":"http://www.soso.com/"
            },
            {
                 "type":"miniprogram",
                 "name":"wxa",
                 "url":"http://mp.weixin.qq.com",
                 "appid":"wx286b93c14bbf93aa",
                 "pagepath":"pages/lunar/index"
             },
            {
               "type":"click",
               "name":"rate us",
               "key":"V1001_GOOD"
            }]
       }]
 }

Solution:

Delete the applet menu bar and publish it again