Coder Social home page Coder Social logo

Got error curling link about novatorem HOT 8 CLOSED

novatorem avatar novatorem commented on May 24, 2024
Got error curling link

from novatorem.

Comments (8)

RaymondJiang1 avatar RaymondJiang1 commented on May 24, 2024 1

No matter what I do, I still get the same error. I followed the video and it still didn't work. I even used a different application and still didn't work

from novatorem.

RaymondJiang1 avatar RaymondJiang1 commented on May 24, 2024 1

Never mind. I figured it out! Thank you so much!

from novatorem.

RaymondJiang1 avatar RaymondJiang1 commented on May 24, 2024

My curl url looks like this. curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Authorization: Basic {TheBase64Thing}" -d "grant_type=authorization_code&redirect_uri=http://localhost/callback/&code={ThecodeIgotfromlocalhost}" https://accounts.spotify.com/api/token

from novatorem.

novatorem avatar novatorem commented on May 24, 2024

Shouldn't be affected if you're using the terminal, I just put in the link for people with different shells.

Anyway, looks like Invalid client secret is the issue really, so just make sure if grabbed the right client secret?
Don't share it publicly though, and someone made a video on the setup, which should help.

from novatorem.

RaymondJiang1 avatar RaymondJiang1 commented on May 24, 2024

Thank you so much! I followed it and it didn't work for some reason. Thanks for linking a video to one of my favorite coding youtubers! I will let you know if it will work! Thanks!

from novatorem.

novatorem avatar novatorem commented on May 24, 2024

Oh? What was the issue?

Others might be up against the same challenge, so any help would be useful.

from novatorem.

RaymondJiang1 avatar RaymondJiang1 commented on May 24, 2024

So I didn't delete the space between the semi-colon when you do the Base64. Just saying but your Base64 code thingy should ALWAYS end in a = no matter what.

from novatorem.

arshsahzad avatar arshsahzad commented on May 24, 2024

Never mind. I figured it out! Thank you so much!

I'm getting the same error as your's, how did you resolve it??

from novatorem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.