scatter-js icon indicating copy to clipboard operation
scatter-js copied to clipboard

Where to find Scatter-specific error code

Open fogmoon opened this issue 6 years ago • 2 comments

Now I just meet two Scatter-specific error: 423 and 402. I want to know whether there are other error codes.

Maybe I miss something, I try my best but can not find any error information in document.

{
	type: "locked",
	message: "The user's Scatter is locked. They have been notified and should unlock before continuing.",
	code: 423,
	isError: true
}
{
	type: "identity_rejected",
	message: "User rejected the provision of an Identity",
	code: 402,
	isError: true
}

fogmoon avatar Feb 22 '19 13:02 fogmoon

The first one is an old extension error just meaning that the Scatter Extension is locked and needs to be opened.

The second one might be related to the first one, or just a rejection of the Login/GetIdentity API

nsjames avatar Feb 23 '19 03:02 nsjames

FYI the identity_rejected error is created here: https://github.com/GetScatter/ScatterDesktop/blob/ef2248e1e6ac75fa653d82968474bfaf39456ac0/src/services/ApiService.js#L152

liamcurry avatar Mar 30 '19 19:03 liamcurry