AutoWeb Spotify - Transfer Action

Discussion in 'AutoApps' started by Brian86, Nov 22, 2017.

  1. Brian86

    Brian86 New Member

    Just wondering if anyone has gotten the spotify "Transfer user playback " action to work in the autoweb spotify api.

    Description: Transfer a User's Playback
    Endpoint: https://api.spotify.com/v1/me/player
    HTTP Method PUT
    OAuth: Required
    OAuth Scope: user-modify-playback-state
    PUT Body:
    Code (Text):
    {
      "device_ids": [
        "Id here"
      ]
    }
    This is what I get when I run the task.
    Code (Text):
    17.02.34/ActionArgBundle key: JoinOutputArray: replace <null> String value with null
    17.02.34/E FIRE PLUGIN: AutoWeb Web Service / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 14 bundle keys
    17.02.34/E AutoWeb Web Service: plugin comp: com.joaomgcd.autoweb/com.joaomgcd.autoweb.broadcastreceiver.BroadcastReceiverFire
    17.02.34/E add wait type Plugin1 time 120
    17.02.34/E add wait type Plugin1 done
    17.02.34/E add wait task
    17.02.35/E Error: 317504052
    17.02.35/E {  "error" : {    "status" : 400,    "message" : "Malformed json"  }}
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Can you please try this in AutoWeb:
    - clear logs
    - enable system logs
    - do the action
    -export logs and paste them here

    Thanks!
     
  3. Brian86

    Brian86 New Member

    Sent you pm
     
  4. Andrzej Belka

    Andrzej Belka New Member

    Hi! I have the same issue. Did you manage to investigate it?
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Sorry, don't remember anymore :) Can you post the logs like I mentioned above?
     
  6. Andrzej Belka

    Andrzej Belka New Member

    I've attached the log as I can't just paste it here.
     

    Attached Files:

  7. Andrzej Belka

    Andrzej Belka New Member

    @joaomgcd any news ? I need this to properly start playing music with Alexa devices. The play/pause functionality does not activate the device you want to select so this is the only way I see to make it work...
     
  8. joaomgcd

    joaomgcd Administrator Staff Member

    Hmm, weird there should be a response there. Did you really enable system logs?
     
  9. Andrzej Belka

    Andrzej Belka New Member

    That is all I get from the logs. When I run it I got a popup with message:
    Error calling API Action
    Please try to correct you API action input or API configuration:
    { "error" : { "status" : 400, "message" : "Malformed json" }}

    That is all...
     
  10. joaomgcd

    joaomgcd Administrator Staff Member

  11. Andrzej Belka

    Andrzej Belka New Member

    Responded on priv with video. But it does work in the Spotify web console.
     
  12. ratelutz

    ratelutz New Member

    have you found a solution?
     
: Spotify

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice