-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to login - Unknown variant #195
Comments
Looks like it can be fixed by adding |
@GandaG both environments are tested in the PR above, so it should be working. Would you please check it after it's merged? |
I just got the exact same error 0.3.0. |
hi everyone - any chance that this issue can be re-opened and looked into? I get exactly the same error and with similar code
running on v0.3.0 |
@mohamedabdelbary I also faced this few days ago. Maybe the API was updated. I will push a fix asap |
@notdanilo thank you so much 🙂 |
hi @notdanilo - any update on this? |
@mohamedabdelbary I just pushed a fix for it. Can you test it by grabbing the crate from git? I am not sure if I still have the credentials to publish the changes to crates.io, because I am no longer working at nash. |
hi @notdanilo . Thanks for this. I'm trying to add the dependency directly from git in my Cargo.toml file. I get an error that looks like it's due to 2 versions of the library being installed.
Seems it's more a Rust dependency management issue though than an openlimits issue. I can definitely see two versions of the library being installed
I've already tried deleting the
Going to try and resolve this, but any pointers would be great, thanks! |
Took a further look. It seems that maybe this latest revision requires an earlier version which is incompatible. Can see the following in my Cargo.lock file
Note the dependency of Could we maybe remove the dependency of |
Trying to login to my regular account gives an error with:
error decoding response body: unknown variant `RAW_REQUESTS`, expected `ORDERS` or `REQUEST_WEIGHT` at line 1 column 324
Code used:
When
SANDBOX
is true I can freely login but when it's false it gives the error above.The text was updated successfully, but these errors were encountered: