Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor has invalid value on /me/activities next_href field #315

Open
dewhaskins opened this issue Sep 11, 2024 · 0 comments
Open

Cursor has invalid value on /me/activities next_href field #315

dewhaskins opened this issue Sep 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dewhaskins
Copy link

Title: Cursor has invalid value on /me/activities next_href field

Issue found of: September 11th, 2024

Endpoint(s):

  • GET /me/activities

Scope(s):

  • Using OAuth2 access token

Steps to reproduce:

curl --request GET \
  --url 'https://api.soundcloud.com/activities?limit=100'

Expected behaviour:

the next_href field should contain a cursor value

Actual behaviour:

instead it uses the old offset value and is "https://api.soundcloud.com/me/activities?limit=100&cursor=100"

If appears to be the same as issue #165.

I tried replacing 'cursor' in the url with 'offset' but it doesn't offset the results and returns the first 100 again.

I also noticed in playing around with it, if you change the limit to a higher number such as 1000 the cursor parameter is not returned at all in the next_href value, in that case it returns "https://api.soundcloud.com/me/activities?limit=1000"

@youssefhassan youssefhassan added the bug Something isn't working label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants