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

Alpha importer reports invalid token

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • import tools
    • None

      An invalid token isn't being handled by us. If we get this error, we should toss the user out of the import queue:

       

      2017-10-09 11:50:42,622 - ERROR - Unable to submit bad listen to beta:
      2017-10-09 11:50:42,622 ERROR Unable to submit bad listen to beta:
      2017-10-09 11:50:42,623 - ERROR - {"listen_type":"import","payload":[\{"listened_at":1498047702,"track_metadata":\{"additional_info":\{},"artist_name":"Phantom Planet","release_name":"Raise The Dead","track_name":"Leader"}}]}
      2017-10-09 11:50:42,623 ERROR {"listen_type":"import","payload":[\{"listened_at":1498047702,"track_metadata":\{"additional_info":\{},"artist_name":"Phantom Planet","release_name":"Raise The Dead","track_name":"Leader"}}]}
      2017-10-09 11:50:42,624 - ERROR - Response code from beta: 401
      2017-10-09 11:50:42,624 ERROR Response code from beta: 401
      2017-10-09 11:50:42,624 - ERROR - {
      "code": 401,
      "error": "Invalid authorization token."
      }

            iliekcomputers Param Singh
            rob Robert Kaye
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package