MongoDB Stitch: iOS SDK - Signup Issue:
I tried this:
let stitchClient = StitchClient(appId: "<my-app-id>")
stitchClient.register(email: email, password: password).then({ () in
print("Signed up here")
})
.catch({ (err) in
print("Sign up fu**ed up: \(err)")
})
and always getting this:
responseParsingFailed("Received no valid data from server").
When I hit the signup URL(https://stitch.mongodb.com/api/client/v2.0/app/my-app-name/auth/providers/local-userpass/register/)
with these params ({"email": "[email protected]", "password": "password"}) as part of the body,
the server returns:
404 page not found
Am I doing anything that's not expected?
Your code looks fine– this was unfortunately an issue on our end.
A maintenance release has been released to amend this issue. The version number is 2.0.4. Please update your Podfile accordingly and update the pod.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With