Open spacesailor24 opened 1 month ago
I used to use Cayenne Network when I changed to Habanero or Manzano, I got error "message: "Rate limit exceeded. Try again later."
This is because payment is required for network usage on the Habanero and Manzano networks.See these docs to learn more about minting and using Capacity Credits to pay for usage
Here is a workin code example of encrypting and decrypting a file using the datil-test
network, please use it as a reference.
To further debug your issue, can you share the accessControlConditions
you use for encryption, as well as the code you use to produce the authSig
for decryption? Lastly, if you can share the Lit request ID for the failing decryption request, we can look at the Lit node logs to see what the cause was. You can obtain the Lit request ID if you enable the debug
property when instantiating a LitNodeClient
like so:
const litNodeClient = new LitNodeClient({
litNetwork: LitNetwork.DatilDev,
debug: true,
});
await litNodeClient.connect();
Discord thread
Description of the issue
Hello, I upgraded the Lit SDK to version 5.1.0. I'm trying to encrypt and decrypt files. Encrypting is going fine, but when I try to decrypt, I get a generic error that doesn't help me understand what may be wrong. It just says, "Failed to decrypt." and the below is the code
For encrypt:
For decrypt:
Additional context
I used to use Cayenne Network when I changed to Habanero or Manzano, I got error
"message: "Rate limit exceeded. Try again later."
more context here is how i mange uploading the files: