sdk-for-react-native
sdk-for-react-native copied to clipboard
🐛 Bug Report: Appwrite SDK - Route Not Found Issue
👟 Reproduction steps
npm list appwrite [email protected] D:\react_native\stock_video_app └── [email protected]
-
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.
-
Configure SDK:
Add the Appwrite SDK to your project using a package manager (e.g., npm install appwrite@latest).
-
Execute Request:
Use the SDK to make an API request to the Appwrite server.
-
Observe Error:
Check the application logs or output to observe the error message.
👍 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?
- [X] I have read the Code of Conduct
@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.
Closing stale issue