Closed lucblender closed 6 years ago
The library is only a wrapper to help with your requests, it does not create responses. Any response you receive is from the Discogs API. In your case it looks like maybe you are making too many requests too quickly, click here for more information about Discogs API's rate limiting.
As for the request working in the browser, this is normal for a basic GET Request like this call. You can use the browser, or even better a tool like Postman to debug HTTP Requests to RESTful servers.
I'm sorry I didn't copy past the correct error message... Totally my bad. The one that I had with this request is: {"message": "You must authenticate to access this resource."}. The rate limit was known to me, copy past mistake...
I'm using your librarie and trying to use the search for DiscogsClient but only get {"message": "You must authenticate to access this resource."}. as answer. Here is the process I've to do this request:
What is even weird is that your library print the requested URL for example: https://api.discogs.com/database/search?q=Glowsun&token=TOKEN&type=artist&per_page=1 And the link work in a normal browswer.