You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
Tried uploading a file using object.uploadObject method but the method failed with this error:
{
"code": "20019",
"message": "The publicKey was not registered",
"statusCode": 400
}
I am not sure if that is the wallet's public key or the public key generated by genOffChainAuthKeyPairAndUpload method. If that's the wallet's public key, it is registered and if it isn't then I am not sure as the method's key is generated randomly as per the code.
What you expected to happen:
I expected it to upload the file and return the id
Have you tried the latest version: yes
How to reproduce it (as minimally and precisely as possible):
I called the uploadObject method after createObject method.
Logs (paste a small part showing an error (< 10 lines) or link a pastebin, gist, etc. containing more of the log file):
{
"code": "20019",
"message": "The publicKey was not registered",
"statusCode": 400
}
Config (you can paste only the changes you've made):
node command runtime flags:
Anything else we need to know:
The text was updated successfully, but these errors were encountered:
lokendrasoni
changed the title
"The publicKey was not registered" which calling object.uploadObject
"The publicKey was not registered" after calling object.uploadObject
Sep 7, 2024
SDK version: 2.1.1
Environment:
What happened:
Tried uploading a file using object.uploadObject method but the method failed with this error:
I am not sure if that is the wallet's public key or the public key generated by
genOffChainAuthKeyPairAndUpload
method. If that's the wallet's public key, it is registered and if it isn't then I am not sure as the method's key is generated randomly as per the code.What you expected to happen:
I expected it to upload the file and return the id
Have you tried the latest version: yes
How to reproduce it (as minimally and precisely as possible):
I called the uploadObject method after createObject method.
createObject code:
uploadObject code:
getOffchainAuthKeys method:
Logs (paste a small part showing an error (< 10 lines) or link a pastebin, gist, etc. containing more of the log file):
Config (you can paste only the changes you've made):
node command runtime flags:
Anything else we need to know:
The text was updated successfully, but these errors were encountered: