Snapshot.js create propposel throwing an unauthroized error, error description is empty #4050
Closed
aqeelrazagondal
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
here is create proposal object
Proposal
{ "address": "SomeAddress", "sig": "sid****", "data": { "domain": { "name": "snapshot", "version": "0.1.4" }, "types": { "Proposal": [ { "name": "from", "type": "address" }, { "name": "space", "type": "string" }, { "name": "timestamp", "type": "uint64" }, { "name": "type", "type": "string" }, { "name": "title", "type": "string" }, { "name": "body", "type": "string" }, { "name": "discussion", "type": "string" }, { "name": "choices", "type": "string[]" }, { "name": "start", "type": "uint64" }, { "name": "end", "type": "uint64" }, { "name": "snapshot", "type": "uint64" }, { "name": "plugins", "type": "string" }, { "name": "app", "type": "string" } ] }, "message": { "space": "chaingptai.eth", "type": "single-choice", "Timestamp": "1688706910", "title": "test", "body": "", "discussion": "", "choices": [ "yes", "n", "no" ], "start": "1688706910", "end": "1688708710", "snapshot": "29745906", "network": "56", "plugins": "", "app": "snapshot", "from": "address", "timestamp": "1688706934" } } }
error response
{"error":"unauthorized","error_description":{}}
Anyone, please guide us about the issue and why it's happening?
Beta Was this translation helpful? Give feedback.
All reactions