GithubHelp home page GithubHelp logo

Appwrite serive :: getCurrentUser :: error TypeError: Failed to construct 'URL': Invalid URL error in appwrite about chai-aur-react HOT 15 OPEN

hiteshchoudhary avatar hiteshchoudhary commented on July 28, 2024
Appwrite serive :: getCurrentUser :: error TypeError: Failed to construct 'URL': Invalid URL error in appwrite

from chai-aur-react.

Comments (15)

Rohansunwar5 avatar Rohansunwar5 commented on July 28, 2024 2

maybe you can check your env files and how it's processing the api keys from the appwrite database , since this error is thrown from the app url

from chai-aur-react.

sameer1sheikh2mansoori3 avatar sameer1sheikh2mansoori3 commented on July 28, 2024

is anyone facing the same problem

from chai-aur-react.

Asad-code173 avatar Asad-code173 commented on July 28, 2024

How to solve this
Screenshot (17)

from chai-aur-react.

Sana348 avatar Sana348 commented on July 28, 2024

maybe you can check your env files and how it's processing the api keys from the appwrite database , since this error is thrown from the app url

I check each and everything I thing that issue is related to appwrite only

from chai-aur-react.

Asad-code173 avatar Asad-code173 commented on July 28, 2024

maybe you can check your env files and how it's processing the api keys from the appwrite database , since this error is thrown from the app url

yes i have checked but didnt find

from chai-aur-react.

Asad-code173 avatar Asad-code173 commented on July 28, 2024

How to debugg this error

from chai-aur-react.

JayrajSingh65 avatar JayrajSingh65 commented on July 28, 2024

facing same issue how to solve this ?

from chai-aur-react.

JayrajSingh65 avatar JayrajSingh65 commented on July 28, 2024

Uploading Screenshot 2024-03-05 at 11.58.02 AM.png…

from chai-aur-react.

priyanshuverma2004 avatar priyanshuverma2004 commented on July 28, 2024

FACING SAME ERROR

from chai-aur-react.

priyanshuverma2004 avatar priyanshuverma2004 commented on July 28, 2024

put the link of end point in auth.js direct
.setEndpoint('https://cloud.appwrite.io/v1')
in place of variable

from chai-aur-react.

JayrajSingh65 avatar JayrajSingh65 commented on July 28, 2024

put the link of end point in auth.js direct
.setEndpoint('https://cloud.appwrite.io/v1')
in place of variable

Cors error ! Not Working still

from chai-aur-react.

ESHWARGUNDLA avatar ESHWARGUNDLA commented on July 28, 2024

Same issue How to slove?

from chai-aur-react.

yashg-007 avatar yashg-007 commented on July 28, 2024

make sure your env file is in root directory of the project

from chai-aur-react.

Shaileshjadav2732 avatar Shaileshjadav2732 commented on July 28, 2024

image

from chai-aur-react.

Vikas-Kumar-Sahu avatar Vikas-Kumar-Sahu commented on July 28, 2024

First go to conf.js page and check proper name and then go to auth.js to check URL name.
Second go Appwrite and copy original URL link value.
Note - it's a name or url id problem check properly.

that's it your code is now working...

from chai-aur-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.