FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. Tags
    3. typescript
    Log in to post
    • All categories
    • J

      Help using typescript client browser implementation on deno

      Q&A
      • typescript deno • • Jay
      4
      0
      Votes
      4
      Posts
      1.1k
      Views

      danD

      Great to hear!

    • danD

      Solved I'm getting a 404 error when I'm searching for users?

      Q&A
      • typescript client-library status code 404 • • dan
      2
      0
      Votes
      2
      Posts
      5.4k
      Views

      danD

      404 is a valid response code when using the client library to look for a user by email.

      If the user exists you’ll get 200 and if the user does not exist you’ll get 404.

      If you are using the client in the browser and don’t want to expose the 404 to the console, adding a try/catch would be a good idea. The 404 is the expected response code when the user does not exist:
      https://fusionauth.io/docs/v1/tech/apis/users#response-2