Trouble with pagination

24 views
Skip to first unread message

Ariane stolfi

unread,
Feb 20, 2022, 6:24:09 AM2/20/22
to freeso...@googlegroups.com
Hi, I'm trying to get sounds from the second search page on freesound on playsound.space:


but I"m getting a 401 error (unauthorized) . Does anyone know what might be happening?

best,
Ariane

Frederic Font Corbera

unread,
Feb 21, 2022, 11:49:37 AM2/21/22
to freeso...@googlegroups.com
Hi Ariane,

Seems to be working fine for me. Are you sure you're not missing the token or auth header?

Cheers,

frederic

--
Frederic Font - ffont.github.io
Music Technology Group, UPF - mtg.upf.edu
Freesound - freesound.org



--

---
You received this message because you are subscribed to the Google Groups "Freesound API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to freesound-ap...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/freesound-api/CALKJ460VFDHDVU1mBJuRmP-T4UgyFMBk_FrbntS20CSgHvjKTA%40mail.gmail.com.

Ariane stolfi

unread,
Feb 23, 2022, 7:29:11 AM2/23/22
to freeso...@googlegroups.com
yes, probably, but what this happens only on the second result page? it was working till some time ago, something has changed on the api? I'm investigating here anyway what might be happening, probaby I'm not sending the headers on this request...

thanks,
Ariane




Frederic Font Corbera

unread,
Feb 23, 2022, 8:10:41 AM2/23/22
to freeso...@googlegroups.com
Hmm that's strange,
Nothing should have changed in the API, but maybe we introduced a bug...

Make sure that your base URL for the original (page 1) calls is https://freesound.org/xxx (and not http or non-www).

Cheers,


frederic


--

Ariane stolfi

unread,
Feb 23, 2022, 3:04:43 PM2/23/22
to freeso...@googlegroups.com
thanks! 

I think that was the problem, my app was replacing "http://freesoud.org..." for internal routing that was how the string was coming before, I'm gonna change this and see if it's fixed.

cheers,
Ariane

Ariane stolfi

unread,
Feb 23, 2022, 3:31:21 PM2/23/22
to freeso...@googlegroups.com
thanks! it's working again
:)

Frederic Font Corbera

unread,
Feb 23, 2022, 3:34:07 PM2/23/22
to freeso...@googlegroups.com
I'm glad it works now!

Cheers,


frederic


Reply all
Reply to author
Forward
0 new messages