Announcements
Hey folks! Some of you may currently experiencing issues with login, playback and the Support site. This is being looked into and we'll keep you posted here.

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Access Token Generate through Command line issue

Solved!

Access Token Generate through Command line issue

Plan

Free

Country

India

Device

Lenovo ideapad 100

Operating System

Windows 8.1 pro

 

My Question or Issue

Currently, I'm trying to create access token from command line to use spotify ads api in php. But I'm getting errors like below listed during run authorization steps

'base64' is not recognized as internal or external command
'curl' is not recognized as internal or external command.

Please help me out to resolve this errors. 

 

Reply

Accepted Solutions
Marked as solution

I've installed the "curl" and "base64" command in my system. and It's worked !!

Reference to install "base64" and "curl" command
curl :
https://stackoverflow.com/questions/28736666/curl-not-recognized-as-an-internal-or-external-command-...
base64:
https://www.di-mgt.com.au/base64-for-windows.html

View solution in original post

3 Replies

Hi!  Based on your error and the process described on https://ads.developer.spotify.com/#section/Getting-Started/Set-up-your-Ad-Studio-API-application, I would assume the assumption is that you'd be using a linux or linux-based command line environment (ie., a Mac or WSL).  You appear to be on Windows, so you'll have to figure out another way of doing it.  Maybe you could consider using Cygwin, but I'm not sure if it'll work smoothly.  Good luck!


Okay, Thank you for your response. I'll try to do something else related to windows.

Marked as solution

I've installed the "curl" and "base64" command in my system. and It's worked !!

Reference to install "base64" and "curl" command
curl :
https://stackoverflow.com/questions/28736666/curl-not-recognized-as-an-internal-or-external-command-...
base64:
https://www.di-mgt.com.au/base64-for-windows.html

Suggested posts

Type a product name