Solving CORS errors with appwrite

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024

ความคิดเห็น • 37

  • @Appwrite
    @Appwrite  7 หลายเดือนก่อน

    Read the full article here: appwrite.io/blog/post/cors-error

  • @The_real_jamal
    @The_real_jamal 7 หลายเดือนก่อน +4

    When we will get an official documentation about scaling selfhosted appwrite instances?

  • @RanjanKumar-tx8zr
    @RanjanKumar-tx8zr 7 วันที่ผ่านมา

    Invalid `userId` param: Parameter must contain at most 36 chars. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char"
    error is occuring while login as well as signup

  • @Niteshmaurya1234
    @Niteshmaurya1234 6 หลายเดือนก่อน +1

    I've done just as you said but still the error persists. Can you please help me?

  • @reshmadabhade903
    @reshmadabhade903 11 วันที่ผ่านมา

    sir am getting this error Please check the value of the X-Appwrite-Project header to ensure the correct project ID is being used. please suggest me something am checking my project id and endpoint all is correct please suggest me something

  • @raviswamyp7616
    @raviswamyp7616 17 วันที่ผ่านมา

    Thank You for this video, finally i found the solution

  • @raelliverwelsh
    @raelliverwelsh หลายเดือนก่อน

    I've updated local host name to both the wild card and localhost and made sure the correct project id is correct however cors is still blocking me I've tried so many different ways

    • @Appwrite
      @Appwrite  หลายเดือนก่อน

      Please join our appwrite discord server and ask this question there. There can be different reasons for this based on you configuration. Please add details in your request. (Discord link is in the video description)

  • @cybermaxi7
    @cybermaxi7 7 หลายเดือนก่อน

    Thank you very much
    I had been battling with this particular problem and it turned out that my error was coming from the wrong .env pattern i was using for my IDs
    Thanks

  • @gamingarea9011
    @gamingarea9011 8 หลายเดือนก่อน +3

    Forgot password 😢 video

    • @Appwrite
      @Appwrite  8 หลายเดือนก่อน +1

      Good recommendation, I’ll add that to my list - Dennis Ivy

  • @WhizWiseRepublic
    @WhizWiseRepublic 7 หลายเดือนก่อน

    Is it secure to leave the localhost host name there or is it unadvised even when I'm not developing at the time

  • @Ayush01101
    @Ayush01101 หลายเดือนก่อน

    i am getting ( AppwriteException: User (role: guests) missing scope (account)) this error

    • @Appwrite
      @Appwrite  28 วันที่ผ่านมา

      Looks like you have not set permissions correctly. If you still need help please ask a question in our discord server and explain exactly when you are getting this error. Discord server link in video description.

  • @yashkhadikar3129
    @yashkhadikar3129 5 หลายเดือนก่อน

    The error says the value of access-control-allow-credentials header is ' ' which must be true I have added the platform and *as hostname but still I couldn't fix it please help!!

    • @Appwrite
      @Appwrite  4 หลายเดือนก่อน

      Try using localhost instead of the "*" wildcard.

  • @iqraazam-12
    @iqraazam-12 หลายเดือนก่อน

    I am getting error 401 in my console how to solve it?

    • @Appwrite
      @Appwrite  หลายเดือนก่อน +1

      A 401 error usually means that you're making an unauthenticated request. Ensure you are logged in before making any calls to the backend.

  • @devanshtyagi8583
    @devanshtyagi8583 2 หลายเดือนก่อน

    i am getting 401 authorized error ?

    • @Appwrite
      @Appwrite  หลายเดือนก่อน

      It means you are making request but are not logged in yet. If this happens when you are logged out (i.e you are still in the login page and just checking the user status) then you can ignore the console error.

  • @yadav_saab6801
    @yadav_saab6801 2 หลายเดือนก่อน

    tried everything in this video, appwrite stiil not working

    • @Appwrite
      @Appwrite  หลายเดือนก่อน

      Are you using the web SDK?

  • @mayanksinghrana4446
    @mayanksinghrana4446 4 หลายเดือนก่อน

    thank you boss very helpfull

  • @adityaraj402
    @adityaraj402 2 หลายเดือนก่อน

    My create document is working but update is giving cors error

    • @Appwrite
      @Appwrite  หลายเดือนก่อน

      That's odd. Can you please join the appwrite discord server (linked in video description) and ask for help there? the team can be much more helpful there with direct communication :)

    • @adityaraj402
      @adityaraj402 หลายเดือนก่อน

      @@Appwrite Issue has been fixed now. It was due to chrome extension

    • @priyajain4245
      @priyajain4245 13 วันที่ผ่านมา

      @adityaraj how did you resolve that error in chrome extension. Can you please provide me steps

    • @adityaraj402
      @adityaraj402 12 วันที่ผ่านมา

      @@priyajain4245 Actually I was using one chrome extension. I forgot the name that was causing the cors. As I disabled that extension my code was working

    • @adityaraj402
      @adityaraj402 9 วันที่ผ่านมา

      @@priyajain4245 there was no bug. I was using a chrome extension and I was facing cors issue. When I removed that extension it was working perfectly okay..

  • @Viso-code471
    @Viso-code471 6 วันที่ผ่านมา

    AppwriteException: User (role: guests) missing scope (account) wb this one

  • @gamingarea9011
    @gamingarea9011 7 หลายเดือนก่อน

    Where is forget password video ? Also make video on database relationship i need it in my chat web app

  • @AndresRodriguez-zs3bc
    @AndresRodriguez-zs3bc 5 หลายเดือนก่อน

    Yup. I forgot to add my web platform lol

    • @Appwrite
      @Appwrite  4 หลายเดือนก่อน

      It happens ;) - Dennis Ivy

  • @Iron_Will_official
    @Iron_Will_official 7 หลายเดือนก่อน +1

    I've done just as you said but still the error persist. Can you please help me?

    • @Appwrite
      @Appwrite  7 หลายเดือนก่อน +1

      Tell me about when you are getting this error. Are you using a client side SDK or server side SDK? What method are you using when you are getting this error? Join the Appwrite discord server and new issue in the #support channel and be sure to tag @dennisivy so I can see it. We can debug from there :) - Dennis Ivy

    • @Appwrite
      @Appwrite  7 หลายเดือนก่อน +2

      Update for everyone; Issue was resolved, in this case it was an improperly configured client ID due to a misnamed ENV variable. So this one would fall under reason #3 in the video - Dennis Ivy