• Hello,

    I did all the steps and created a bot on telegram, got the API key and sent it by message (following all instructions in the plugin page), when I press ‘connect telegram’ I get “unknown error”.
    Please help!

    Regards,

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author amitai

    (@ty_pwd)

    Can you please look at the network tab in the console log and see if you’re getting any more details on the error?

    Thread Starter p5yl0g1k

    (@p5yl0g1k)

    Hello ty_pwd,

    Sorry but I couldn’t find the console log nor network tab, some guidance would be appreciated.
    Thanks!

    Regards,

    Plugin Author amitai

    (@ty_pwd)

    What’s the URL for the site?

    Thread Starter p5yl0g1k

    (@p5yl0g1k)

    Plugin Author amitai

    (@ty_pwd)

    not seeing the plugin there. please post a direct link to the page where the plugin is used

    Thread Starter p5yl0g1k

    (@p5yl0g1k)

    Thread Starter p5yl0g1k

    (@p5yl0g1k)

    As I previously tried to say, the plugin won’t work as there’s no connection to the Telegram bot. I have made sure the API key is correct countless times..

    Thread Starter p5yl0g1k

    (@p5yl0g1k)

    I currently see this in the settings:
    Telegram Client is configured correctly.
    Place the shortcode [contactbot] in a post or page and start chatting with your users :).

    Yet I still get an error when I use the plugin.
    How can I access a console log to see what’s happening?

    Plugin Author amitai

    (@ty_pwd)

    Thread Starter p5yl0g1k

    (@p5yl0g1k)

    I get the following:

    “NetworkError: 401 Unauthorized – https://www.cedargardens.me/wp-admin/admin-ajax.php”
    TELEGRAM VERIFICATION FAILED: Object { data={…}, status=401, config={…}, more…}
    Object { method=”POST”, transformRequest=[1], transformResponse=[1], more…}
    data

    “action=mcb_verify_telegram”
    headers

    Object { Content-Type=”application/x-www-form-urlencoded”, Accept=”application/json, text/plain, */*”}
    Accept

    “application/json, text/plain, */*”
    Content-Type

    “application/x-www-form-urlencoded”
    method

    “POST”
    transformRequest

    [function(a)]
    0

    function(a)
    transformResponse

    [ac(a, b)]
    0

    ac(a, b)
    url

    “/wp-admin/admin-ajax.php”
    paramSerializer

    function(a)
    data

    Object { success=false, data={…}}
    data

    Object { error=”401: Unauthorized”, errorCode=9999}
    error

    “401: Unauthorized”
    errorCode

    9999
    success

    false
    status

    401
    statusText

    “Unauthorized”
    headers

    function(d)


    Sorry if I pasted something in a wrong way, it’s my first time using WP and plugins and I’m not really a dev.
    Thanks for any help.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘unknown error on linking with telegram’ is closed to new replies.