sdk-for-react-native icon indicating copy to clipboard operation
sdk-for-react-native copied to clipboard

🐛 Bug Report: Appwrite SDK - Route Not Found Issue

Open mohd-ajlal opened this issue 1 year ago • 1 comments
trafficstars

👟 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?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

mohd-ajlal avatar Aug 27 '24 19:08 mohd-ajlal

@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.

stnguyen90 avatar Aug 30 '24 01:08 stnguyen90

Closing stale issue

stnguyen90 avatar Jan 18 '25 23:01 stnguyen90