-
Notifications
You must be signed in to change notification settings - Fork 0
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
Cannot create Study within app #230
Comments
Here's what I see in the logs of the
I want to emphasize that the response code is 422, which MDN describes as:
|
I told the beta tester that initially reported this issue to me, that I would close the loop with them via email once this issue gets resolved. I'm posting this comment as a reminder to myself to do that. I also sent them a link to this ticket, so they may already be aware of its resolution before I send that email. |
On my iPhone 12 Pro, I reverted to the previous build of the app (i.e. I am wondering whether something changed on the CC: @pkalita-lbl |
This is reproducible in my local development environment. The full error response is: {
"detail": [
{
"type": "missing",
"loc": [
"body",
"metadata_submission",
"addressForm",
"shipper",
"country"
],
"msg": "Field required",
"input": {
"city": "",
"email": "",
"line1": "",
"line2": "",
"name": "",
"phone": "",
"postalCode": "",
"state": ""
}
}
]
} Looks like we need to now include a country value (even if it's just an empty string), as introduced by microbiomedata/nmdc-server#1506. |
The fix for this issue was included in build 10 of version 0.1.0. That build was released on TestFlight on Tuesday, February 18. |
Bug summary
Cannot create Study within app
Bug details
Using the latest beta version of the iOS app, I am unable to create a Study via the app. I'm tagging this issue with
user-submitted
because the issue was originally reported by a beta tester. I am creating this ticket after (a) receiving that report and then (b) reproducing it.Steps to reproduce
Example study
[email protected]
air
If you have access to the logs of our API server, notice that the server is responding to the API request at step 4 with an HTTP 422 response.
Anything else?
As a workaround, I confirmed I could create a Study via the NMDC Submission Portal; then — back in the NMDC Field Notes app — reload the "Studies" list (by dragging the list downward), and see the newly-created Study there.
App version
0.1.0 (9)
Device type
Apple
Operating system version
iOS 18.1.1
The text was updated successfully, but these errors were encountered: