简体   繁体   中英

mongodb stitch android email/pass register 404 error

I am using MongoDb Stitch Android SDK to register a user with the email/password authentication system.

But getting a 404 error when calling the method register(name,pass) in the SDK.

Unexpected response code 404 for https://stitch.mongodb.com/api/client/v2.0/app/<<app-name>>/auth/local-userpass/register

I have added valid URLs (for submission and password confirmation) in the stitch console when setting up an email provider.

I see a post with a similar issue for iOS SDK - which was fixed in an SDK update - Signup not working - Server returns 404 Error Code

I am using latest Android SDK 'org.mongodb:stitch:3.0.0'

Could somebody assist with this.

This was a bug that has now been patched in the latest release, 3.0.2.

Please update your Gradle file accordingly to use org.mongodb:stitch:3.0.2 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM