Create an exception that is thrown by the various 'connect' methods when invalid credentials are given.
The JSON for such an event looks like:
{ "non_field_errors": [ "Unable to log in with provided credentials." ] }
Create an exception that is thrown by the various 'connect' methods when invalid credentials are given.
The JSON for such an event looks like:
{ "non_field_errors": [ "Unable to log in with provided credentials." ] }
Status | Assigned | Task | ||
---|---|---|---|---|
Resolved | CLOVIS | T259 Multipart requests | ||
Wontfix | CLOVIS | T269 Convert users to Kotlin | ||
Wontfix | CLOVIS | T270 Convert posts to Kotlin | ||
Resolved | CLOVIS | T271 Convert areas to kotlin | ||
Wontfix | CLOVIS | T272 Convert API to Kotlin | ||
Wontfix | CLOVIS | T273 Convert descriptors to Kotlin | ||
Wontfix | CLOVIS | T274 Convert utils to Kotlin | ||
Wontfix | CLOVIS | T235 Fix Not a String exception | ||
Resolved | CLOVIS | T329 Minimal-json is missing from the archive | ||
Wontfix | CLOVIS | T268 Kotlin + Java 7 | ||
Wontfix | CLOVIS | T262 Better exception handling | ||
Wontfix | CLOVIS | T265 Unable to login with provided credentials |
It would be better to check for the http sttlatus code, instead of trying to parse the json.
Is there a special error code for that case though? If we only look at the error code, we may confuse this with some other error (I don't know, something like "incorrect email" or similar)