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?
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?
Plugin Author
amitai
(@ty_pwd)
not seeing the plugin there. please post a direct link to the page where the plugin is used
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..
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?
I get the following:
“NetworkError: 401 Unauthorized – http://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.