-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Milestone
Description
The error created from an error response from API calls is missing and not printing extra information in the json.error.details object that would be useful for developers to see. Only the json.error.name and json.error.what is printed.
Error response from v1.chainpush_transaction:
{
headers: {
'access-control-allow-headers': '*',
'access-control-allow-origin': '*',
connection: 'close',
'content-length': '531',
'content-type': 'application/json',
server: 'WebSocket++/0.7.0'
},
status: 500,
json: {
code: 500,
message: 'Internal Service Error',
error: {
code: 3090003,
name: 'unsatisfied_authorization',
what: 'Provided keys, permissions, and delays do not satisfy declared authorizations',
details: [
{
message: "transaction declares authority '${auth}', but does not have signatures for it under a provided delay of 0 ms, provided permissions ${provided_permissions}, provided keys ${provided_keys}, and a delay max limit of 3888000000 ms",
file: 'authorization_manager.cpp',
line_number: 532,
method: 'check_authorization'
}
]
}
},
text: '{"code":500,"message":"Internal Service Error","error":{"code":3090003,"name":"unsatisfied_authorization","what":"Provided keys, permissions, and delays do not satisfy declared authorizations","details":[{"message":"transaction declares authority \'${auth}\', but does not have signatures for it under a provided delay of 0 ms, provided permissions ${provided_permissions}, provided keys ${provided_keys}, and a delay max limit of 3888000000 ms","file":"authorization_manager.cpp","line_number":532,"method":"check_authorization"}]}}'
}
Metadata
Metadata
Assignees
Labels
No labels