Cannot Find HTTP Request ID

19 views
Skip to first unread message

whitedavidp

unread,
Nov 23, 2025, 1:02:35 PM (3 days ago) Nov 23
to Tasker
This is from v 6.6.6-beta...

On my phone, I have a single HTTP Request profile servicing POSTs from Tasker HTTP Request Action on another device on my network. In general, it all works swimmingly!

But on some occasions (I cannot now find a pattern), I get an error as shown in the attachment. "Could not find request with ID xxxx". I am not exactly sure, but I suspect it is from the final action in my task to service the profile - an HTTP Response which references the %http_request_id that should have been passed in via the profile itself. All this action does is set status code to 200 with type Text (but no body, etc).

Given that the %http_request_id is supposed to be given from the triggered profile, it is hard for me to understand why it should NOT be found/recognized.

Any suggestions? Thanks!
Screenshot_20251123-075153.png

João Dias

unread,
Nov 24, 2025, 5:08:08 AM (2 days ago) Nov 24
to tas...@googlegroups.com
Can you please export your profile's description (not xml) so I can take a look? Long-click the profile in Tasker->export description Thanks in advance

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/tasker/b71aaaa3-fe9a-484f-b07d-d071c9385a6cn%40googlegroups.com.

David White

unread,
Nov 24, 2025, 10:30:07 AM (2 days ago) Nov 24
to tas...@googlegroups.com
    Profile: Water Meter Http Request
    Event: HTTP Request [ Output Variables:* Port:4950 Method:POST Path:* Quick Response:* Timeout (Seconds):10 Only On Wifi:Off Network Name/MAC Address:* ]
   
   
   
    Enter Task: Water Meter Report Status
   
    A1: Stop [ ]
        If  [ %http_request_body !Set ]
   
    A2: Copy File [
         From: %http_request_files()
         To: /sdcard/WaterMeter/current_image.jpg
         Use Global Namespace: On
         Continue Task After Error:On ]
   
    A3: Variable Set [
         Name: %msg
         To:   ]
   
    A4: KLWP Send Variable [
         Configuration: Set: meter_status
         Timeout (Seconds): 0 ]
   
    A5: Variable Set [
         Name: %msg
         To: %http_request_multipart_values(2) ]
   
    A6: [X] Notify [
         Title: Water Meter
         Text: %msg
         Icon: mw_action_info_outline
         Number: 0
         Priority: 3
         LED Colour: Red
         LED Rate: 0 ]
   
    A7: Variable Set [
         Name: %newline
         To:
          ]
   
    A8: Variable Search Replace [
         Variable: %msg
         Search:  with
         Replace Matches: On
         Replace With: %newline ]
   
    A9: KLWP Send Variable [
         Configuration: Set: meter_status
         Timeout (Seconds): 0 ]
   
    A10: HTTP Response [
          Request ID: %http_request_id
          Status Code: 200
          Type: Text
          Continue Task After Error:On ]
   
    Thanks - as always!
Reply all
Reply to author
Forward
0 new messages