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]: Favoriting a model fails with an error in the development console #1065

Open
doctorpangloss opened this issue Mar 14, 2024 · 0 comments
Labels
bug-report Something might not be working

Comments

@doctorpangloss
Copy link

What happened?

I cannot favorite models. Clicking the button eagerly renders a successful favorite icon, then it reverts back to not favorited.

Steps to reproduce the problem

  1. Login with my GitHub account to CivitAi (feel free to impersonate)
  2. Click "Favorite" on a model.
  3. Observe this error:
 << mutation #27 user.toggleFavorite  
Object { input: {…}, result: TRPCClientError, elapsedMs: 339, context: {} }
​
context: Object {  }
​
elapsedMs: 339
​
input: Object { modelId: 324815, modelVersionId: 364137, setTo: true, … }
​
result: TRPCClientError: No Collection found
​
<prototype>: Object { … }
loggerLink.mjs:122:14
    _ loggerLink.mjs:122
    a loggerLink.mjs:153
    error loggerLink.mjs:165
    error index.mjs:90
    error observable-ade1bad8.mjs:55
    error observable-ade1bad8.mjs:55
    error observable-ade1bad8.mjs:55
    O httpLink.mjs:35

What should have happened?

I should be able to favorite models.

What platforms do you use to access the site?

Windows, MacOS

What browsers do you use to access the site?

Mozilla Firefox, Apple Safari

Additional information, context and logs

No response

@doctorpangloss doctorpangloss added the bug-report Something might not be working label Mar 14, 2024
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

1 participant