Blog

Most Frequent Troubleshooting FAQ – API Token / Webhook

Most Frequent Troubleshooting FAQ – API Token / Webhook

In this article we will show the most frequent asked troubleshooting questions and its solutions

Useful Links

Webhook Location -> Settings -> Webhook -> Configure URL

API Token Location -> Settings -> API Tokens

API Documentation :  http://pickyassist.com/app/downloads/Picky-Assist-Broadcaster-API-Documentation.pdf

API Test URLhttps://pickyassist.com/app/api/v1/api_test

Configuring Webhooks : https://pickyassist.com/support/configuring-webhooks/

JSON API

Why I am getting “Insufficient Balance” as response when i trigger the Broadcast API ?

Please note broadcast API works only in Pay As You Go & Unlimited Plan , please make sure you are calling the API from the project which any of the above plan is activated.

Why I am getting “Authentication Failed” as response when i trigger the Broadcast API?

This error is because you are using a wrong API token or the project mapped to the API token is not in active status.

I am getting “Sucess” as broadcast API response but my WhatsApp messages are not getting delivered to the recipient phone. Why ?

There could be many reasons for this , your picky assist bridge app might not have configured correctly or accessibility permission granted to the picky assist app got revoked by the system , follow the below steps

  1. Make sure you are installed the stable version of picky assist bridge app i.e 3.1 or above version
  2. Make sure the mobile where the whatsapp is installed has an active internet connection
  3. Make sure the mobile and whatsapp language is set to English
  4. Make sure the mobile is not locked , the screen lock should be set to “None”
  5. Make sure the accessibility permission is granted to the Picky Assist app, to verify please open the picky assist mobile app , from the dashboard Click on “Check Accessibility Status” then enable the access if disabled and if enabled then disable and enable it again.

Watch the video explaining to configure picky assist bridge mobile app https://youtu.be/qghLbjWolno

Why messages are missing when sending continuously or in bulk ?

If you are continuously calling the broadcast API there are high chances the mobile phone which do the automation wont response to the request beyond certain limits , so your messages wont reach the phone.

We highly recommend not to call the broadcast API continuously or one by one in a loop function in order to push message in the same time, instead pass all the number and message in a single API call which will ensure your messages reaches the phone correctly.

We have also observed in few phones whatsapp app takes more time to render (open) in this case message missing chances are high so we recommend to set higher delay timings between each messages in the picky assist mobile app if you encounter any issues.  Recommended delay is 10 seconds

When sending message sometimes it opens the whatsapp and pre-fill the message against the correct contact but message is not sending , why?

This is mainly because the “Accessibility” permission to the picky assist app might have revoked by the system , go to Picky Assist Mobile App Click on “Check Accessibility Status” then enable the access if disabled and if enabled then disable and enable it again.

Webhook

I have configured Webhook in picky assist console but my URL is not hitting when receiving a message in my phone , why?

This is because your webhook file is not properly configured by the developer to receive messages from picky assist servers, please check followings

  1. First make sure the incoming messages are showing in the picky assist console “Messages” , if the messages are not showing then the issue will in the picky assist bridge mobile app.
  2. Picky Assist app wont work with any cloned or dual whatsapp installed in your phone, please make sure only whatsapp personal and business in running in your phone
  3. Make sure your server accepts POST requests from 3rd party sites
  4. Make sure your firewall / router not blocking our server ip, if required please whitelist our server ip 173.192.56.210
  5. After configuring the webhook please use the “Test” button in the webhook to test request and response.
  6. Try to work with our sample code https://pickyassist.com/support/sample-code-for-sending-receiving-messages/ or download the sample code for webhooks in PHP https://pickyassist.com/support/sample-parrot-chat-bot-in-core-php/

Incoming messages are hitting in server but reply messages are not getting delivered back to the sender , why?

This is because you are not giving response in correct JSON format, you need to give response in JSON format immediately to the webhook , please refer Settings -> Webhook for sample JSON Format.

You can also test the response using our inbuilt Test tool, go to Settings -> Webhook configure your webhook URL Click on “Test” button it will show both request and response, if your response is not in correct JSON format then our system will show an error.

Incoming messages are not showing in my Web Console or not getting the request in my Webhook URL , Why?

The reason could be any of the followings ;

Notification Access is not given to the picky assist mobile app, please go to picky assist mobile app and Click on “Check Notification Status”  and ensure Picky Assist is turned on as shown below

Make sure WhatsApp Notification is turned on from the Notification Settings of the WhatsApp or Phone

In most of the phones Google Play blocks certain types of socket communications to 3rd party services so there are chances the communication sockets of picky assist might have blocked by Google Play , you need to disable the “Play Protect” Follow the below steps to disable the Play Protect

Open Google Play Store -> From Top Left Side Menu -> Click “Play Protect” -> Disable “Scan device for security threats”

 

Leave a Reply


Your email address will not be published. Required fields are marked *