Solutions to common issues encountered when using the QuikDB SDK.
Encountering issues? Here’s how to resolve some common problems when working with the QuikDB SDK.SDK Installation Fails
SDK Installation Fails
Solution:
- the js sdk is only tested on mac environment. you might encounter challenges with windows or linux. If so please use the python sdk.
- Ensure that your configuration files are correctly set up and encrypted.
- Verify that the
configfile exists in the expected directory. - Check your internet connection to ensure the SDK can communicate with the canister.
Cannot Connect to Canister
Cannot Connect to Canister
Solution:
- Verify that the canister URL exist in your configuration dir.
- Ensure that the canister is running and accessible.
- Check for network issues or firewall settings that might be blocking the connection.
- run
quikdb installcommand again.
Method Invocation Errors
Method Invocation Errors
Solution:
- Ensure that you are passing the correct arguments as per the method’s definition.
- Verify that the schema and records you are referencing exist.
- Consult the error message for specific details and adjust your method call accordingly.
Duplicate Schema or Record
Duplicate Schema or Record
Solution:
- Ensure that the schema or record you are trying to create does not already exist.
- If it does, consider updating the existing schema or record instead of creating a duplicate.
