Closed arkocal closed 2 years ago
Steps to reproduce (using python sdk):
device = account.create_device("device1", "device1") token = device.activate() new_login_device = client.get_device("device1", token)
Expected: Successful login. Returns: HTTP Code 500, Internal Server Error.
This might also be a bug in the SDK, but if the SDK is doing something wrong, frontend should return a meaningful denial message.
Assigned @MericFeyz to observe the workflow and possibly review changes.
The server returns a HTTP code of 500 when the given token is invalid.
Steps to reproduce (using python sdk):
Expected: Successful login. Returns: HTTP Code 500, Internal Server Error.
This might also be a bug in the SDK, but if the SDK is doing something wrong, frontend should return a meaningful denial message.