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

[Bug]: API pagination is broken #1150

Closed
worthlesscog opened this issue Apr 26, 2024 · 1 comment
Closed

[Bug]: API pagination is broken #1150

worthlesscog opened this issue Apr 26, 2024 · 1 comment
Labels
bug-report Something might not be working

Comments

@worthlesscog
Copy link

worthlesscog commented Apr 26, 2024

What happened?

Following metadata nextPage links is enough for model API calls to fail

Steps to reproduce the problem

go to https://civitai.com/api/v1/models
follow metadata/nextPage links until you get to
https://civitai.com/api/v1/models?cursor=76%3A341%3A146864&limit=100&nsfw=true

the next link fails -
{"message":"An unexpected error occurred","error":"URI malformed"}

What should have happened?

nextPage should not fail

What platforms do you use to access the site?

Linux

What browsers do you use to access the site?

Mozilla Firefox

Additional information, context and logs

No response

@worthlesscog worthlesscog added the bug-report Something might not be working label Apr 26, 2024
@manuelurenah
Copy link
Contributor

Thanks for bringing this into our attention @worthlesscog we have addressed the issue and it should be patched very shortly. If this is still an issue for you, please feel free to open the discussion again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Something might not be working
Projects
None yet
Development

No branches or pull requests

2 participants