W 5.1.0
Win10
NodeJS
Local Own Server
Hi!
I’m creating a Spotify app and faced the error. Not sure if it is a bug or if I do something wrong.
Most of the logic is placed in one Library action. It begins with the OAuth2 Authorize step.
In my API action I just start this library action via “Exec action”.
When I start it, it all works good, just as intended.
But in the real case I need to start this workflow on a Schedule basis.
So in Schedule I’m doing the same. I just create an action with only one step here: “Exec action”, that starts my library action.
But it is not working. It shows this error:
TypeError: req.get is not a function
at redirect_uri (C:\Users\nick\Wappler Projects\spotify1\lib\oauth\index.js:157:26)
at OAuth2.authorize (C:\Users\nick\Wappler Projects\spotify1\lib\oauth\index.js:84:27)
at App.authorize (C:\Users\nick\Wappler Projects\spotify1\lib\modules\oauth.js:15:22)
at async App._exec (C:\Users\nick\Wappler Projects\spotify1\lib\core\app.js:491:30)
at async App._exec (C:\Users\nick\Wappler Projects\spotify1\lib\core\app.js:458:17)
at async App.exec (C:\Users\nick\Wappler Projects\spotify1\lib\core\app.js:427:9)
at async App.exec (C:\Users\nick\Wappler Projects\spotify1\lib\modules\core.js:228:13)
at async App._exec (C:\Users\nick\Wappler Projects\spotify1\lib\core\app.js:491:30)
at async App.exec (C:\Users\nick\Wappler Projects\spotify1\lib\core\app.js:427:9)
at async App.define (C:\Users\nick\Wappler Projects\spotify1\lib\core\app.js:417:9)
One suggestion, that this can be related to Redirect URIs in Settings of my Spotify app itself.
I added http://localhost:3000/schedule/save_currently_playing_auto URI. Is it correct?
Last updated: