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 Report: Appwrite SDK - Route Not Found Issue #28

Open
2 tasks done
mohd-ajlal opened this issue Aug 27, 2024 · 1 comment
Open
2 tasks done

🐛 Bug Report: Appwrite SDK - Route Not Found Issue #28

mohd-ajlal opened this issue Aug 27, 2024 · 1 comment
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@mohd-ajlal
Copy link

👟 Reproduction steps

npm list appwrite
[email protected] D:\react_native\stock_video_app
└── [email protected]

  1. Set Up Environment:

    Ensure that Appwrite server version 1.5.10 is running.
    Install the Appwrite SDK that is meant for version 1.6.0 or later.

  2. Configure SDK:

    Add the Appwrite SDK to your project using a package manager (e.g., npm install appwrite@latest).

  3. Execute Request:

    Use the SDK to make an API request to the Appwrite server.

  4. Observe Error:

    Check the application logs or output to observe the error message.

bug

👍 Expected behavior

The Appwrite SDK should interact correctly with the Appwrite server, and API requests should be processed successfully without errors.

👎 Actual Behavior

The application logs show a 404 error with the message "The requested route was not found." The response HTML indicates a route error (general_route_not_found), suggesting a mismatch or issue with the server or SDK configuration.

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

Windows

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@mohd-ajlal mohd-ajlal added the bug Something isn't working label Aug 27, 2024
@stnguyen90 stnguyen90 self-assigned this Aug 30, 2024
@stnguyen90 stnguyen90 added the question Further information is requested label Aug 30, 2024
@stnguyen90
Copy link
Contributor

@mohd-ajlal, thanks for raising this issue! 🙏🏼

The latest version of the SDK is meant for version 1.6 of Appwrite, but Appwrite Cloud is using 1.5. Please make sure to use a compatible version.

Also, you should be using the react-native-appwrite package and not the appwrite package for react native.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants