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

Unable to use updateOrganization method #1657

Closed
5 of 21 tasks
pavittarx opened this issue Aug 30, 2023 · 6 comments
Closed
5 of 21 tasks

Unable to use updateOrganization method #1657

pavittarx opened this issue Aug 30, 2023 · 6 comments
Assignees
Labels
prioritized This issue has been triaged and the team is working on it

Comments

@pavittarx
Copy link

Brief Summary of the Issue

organizations.updateOrganizations method gives 404, not exist error.

Minimal Reproduction or Replay

https://replit.com/@PavittarSingh1/ClerkBackendAPI#index.ts

You can use this repl to reproduce, you will need to use your own API Key.

image

Browser/OS

Using replit.

Node 18

Package + Version

  • @clerk/clerk-js
  • @clerk/clerk-react
  • @clerk/nextjs
  • @clerk/remix
  • @clerk/types
  • @clerk/themes
  • @clerk/localizations
  • @clerk/clerk-expo
  • @clerk/backend
  • @clerk/clerk-sdk-node
  • @clerk/shared
  • @clerk/fastify
  • @clerk/chrome-extension
  • gatsby-plugin-clerk
  • build/tooling/chore
  • other:
@pavittarx
Copy link
Author

The problem was error message says 404 not found which makes it feel like something is broken or maybe the API is not available, but actually the calling was wrong.

@panteliselef panteliselef self-assigned this Sep 1, 2023
@jescalan jescalan added the needs-triage A ticket that needs to be triaged by a team member label Sep 6, 2023
@panteliselef panteliselef added prioritized This issue has been triaged and the team is working on it and removed needs-triage A ticket that needs to be triaged by a team member labels Sep 12, 2023
@panteliselef
Copy link
Member

Hey @pavittarx i used the code that is live on the repl.it you provided and seems to be working as expected.

I see that there is a difference between the arguments you pass in the screenshot and ones passed in the reproduction app.

Can u please confirm if the issue is fixed ?

@panteliselef
Copy link
Member

@pavittarx pinging you again in order to confirm that this is fixed

@pavittarx
Copy link
Author

yeah, thanks @panteliselef. I got it later, I think it was a bit ambiguous in the documentation on how to use it. Then, I got to check on some other page, and was able to make it work.

The problematic part was where it said Not Found, which to me came as either API have been removed or migrated but the library is not updated yet. Thanks for taking a look into this.

@panteliselef
Copy link
Member

happy to help

@clerk-cookie
Copy link
Collaborator

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@clerk clerk locked as resolved and limited conversation to collaborators Sep 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
prioritized This issue has been triaged and the team is working on it
Projects
None yet
Development

No branches or pull requests

4 participants