This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Send image from IP camera to Telegram
#16
(14.08.2020, 11:08)admin Wrote: This line is incorrect:
Code:
filedata = 'image'

It should be
Code:
filedata = image

Hello, I have tried the above methods but still cannot receive images on Telegram. Below is the log result after running resident script:
Code:
* arg: 1
  * string: Error
Invalid Authority!
* arg: 2
  * number: 401
* arg: 3
  * table:
   ["content-length"]
    * string: 27
   ["content-type"]
    * string: text/plain;charset=utf-8
   ["connection"]
    * string: close
* arg: 1
  * number: 1
* arg: 2
  * number: 400
* arg: 3
  * table:
   ["server"]
    * string: nginx/1.18.0
   ["access-control-expose-headers"]
    * string: Content-Length,Content-Type,Date,Server,Connection
   ["content-type"]
    * string: application/json
   ["connection"]
    * string: close
   ["content-length"]
    * string: 79
   ["date"]
    * string: Tue, 22 Jul 2025 09:14:59 GMT
   ["strict-transport-security"]
    * string: max-age=31536000; includeSubDomains; preload
   ["access-control-allow-origin"]
    * string: *
* arg: 4
  * string: HTTP/1.1 400 Bad Request
* string: {"ok":false,"error_code":400,"description":"Bad Request: IMAGE_PROCESS_FAILED"}
Can you help me solve this issue? I’m also using a Dahua camera and want to send snapshots to Telegram.
Reply


Messages In This Thread
RE: Send image form ip camera to telegram - by AlphaAI - 23.07.2025, 01:36

Forum Jump: