AutoRemote IFTTT recieving 400/500 response from server when applet runs.

Discussion in 'AutoApps' started by Handler, Jan 31, 2019.

  1. Handler

    Handler New Member

    Joined:
    Apr 12, 2015
    Messages:
    21
    Likes Received:
    0
    Hi!

    This is weird because I use another applet the then this part using webhooks and my AutoRemote URL. Same key just a different message. Not sure why I'm getting 400/500 responses from autoremote server.

    2019-01-31 09_41_26-Account activity - IFTTT.png
    Not really sure what is going on here.
    Any help is greatly appreciated!

    Dave
     
  2. Handler

    Handler New Member

    Joined:
    Apr 12, 2015
    Messages:
    21
    Likes Received:
    0
    Update: trying using Joins API with Webhooks on IFTTT and I get the same. When Webhooks is triggered the server for the Join API returns a status 400. What is going on?
     
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    797
    What URL are you using exactly? Maybe you're encoding stuff wrong in the URL?
     
  4. Handler

    Handler New Member

    Joined:
    Apr 12, 2015
    Messages:
    21
    Likes Received:
    0
    Hey Joao! Long time!

    It's really strange cause I have another IFTTT -> Webhook that's been running non-stop for months using AutoRemote.

    Here's the AR URL :
    Code (Text):
    https://autoremotejoaomgcd.appspot.com/sendmessage?key=<MY AUTOREMOTE KEY>&message=gplay=:={{Subject}}=:={{ReceivedAt}}=:={{BodyPlain}}
    And the Join URL:
    Code (Text):
    https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?text=gplay=:={{Subject}}=:={{ReceivedAt}}=:={{BodyPlain}}&deviceId=<MY JOIN KEY>
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    797
    And what do those variables contain? :)
     
  6. Handler

    Handler New Member

    Joined:
    Apr 12, 2015
    Messages:
    21
    Likes Received:
    0
    Sure!

    This is the entire message as seen from %arcomm

    Code (Text):
    gplay=:=Your Google Play Order Receipt from Jan 23, 2019=:= January 23, 2019 at 07:18PM=:=

    Thank you.

    You've made a purchase from Storm8 Studios on Google Play.

    Order number:  GPA.3395-9999-0000-12345

    Order date:  Jan 23, 2019 7:18:33 PM EST

    Item

    Price

    1,100 Gems (Home Design Makeover!)

    $9.99

    Tax: $0.00

    Total: $9.99

    Payment method:

    Visa-0000

    Questions? Visit Storm8 Studios.

    You might also like

    Design Home

    c

    Supermarket Mania Journey

    c

    Tiny Hospital Match Puzzle

    c

    Munchkin Match: Magic Home Building

    c

    ?

    See your Google Play Order History.
    View the Google Play Refund Policy and the Terms of Service.

    Need help? Visit the Google Play help center.
    To learn more about Google Payments, visit the Google Payments help center.
    Please do not reply to this message.
    ? 2019 Google | All Rights Reserved.

    Google LLC, 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    797
    Yeah, I'm guessing it doesn't like all those lines in the URL :) You have to URL encode it with <<<>>> around the parameters
     
  8. Handler

    Handler New Member

    Joined:
    Apr 12, 2015
    Messages:
    21
    Likes Received:
    0
    Understood! That's done in the IFTTT recipe? Correct?
     
  9. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    797
  10. Handler

    Handler New Member

    Joined:
    Apr 12, 2015
    Messages:
    21
    Likes Received:
    0
    Joao, that did it!
     
  11. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    797
: autoremote, ifttt

Share This Page