Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-444

Can't get the validate-token API call to work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • API
    • None

      I'm trying to follow the API documentation for listenbrainz, specifically the validate-token GET request. But I can't get it to work. I tried searching for other issues about the call but couldn't find any.

      I'm attaching a .py file that contains an example of the code I'm trying. Running that script always produces:

      {'code': 400, 'error': 'You need to provide an Authorization token.'}

      Am I making a silly syntax error somewhere? I tried making small modifications on the examples from the docs to minimize areas where I might make a silly mistake, but I can't get this to work.

            Unassigned Unassigned
            sherif Sherif Soliman
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package