shridarpatil / frappe_whatsapp

WhatsApp cloud integration for frappe
https://www.youtube.com/watch?v=nq5Kcc5e1oc
Other
188 stars 169 forks source link

Unable to Upload The Image and attach file #89

Open Pradip2113 opened 3 months ago

Pradip2113 commented 3 months ago

requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://graph.facebook.com//v19.0/upload:MTphdHRhY2htZW50OjY5ZDA1ZjBiLTNjYTYtNDFmNC04YmUwLTY4MmEyYWM3MGVhMD9maWxlX2xlbmd0aD0zMjYzMTEmZmlsZV90eXBlPWltYWdlJTJGcG5n?sig=ARaNq9F2b7I4hCwV5bk Possible source of error: frappe_whatsapp (app)

shridarpatil commented 3 months ago

You have entered wrong url there is extra ‘/‘ after facebook.com

elbeicktalat commented 1 month ago

Hello @shridarpatil I'm facing the exact same issues:

image
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://graph.facebook.com/v20.0/None/uploads
Possible source of error: frappe_whatsapp (app)

Not sure why it's taking None in the url.

Any Idea?

Please note that I was able to send message successfully, but I'm not able to create a new template. So the setup is correct.

elbeicktalat commented 1 month ago

Fixed in My case.

I was missing to add the app ID. 😅