You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to how the bot and userSegment APIs have a concrete request-response structure, the ODK forms API is not following the same.
{
"id": "api.userSegment.get",
"ver": "1.0",
"ts": "2021-07-26T05:36:39.485Z",
"params": {
"resmsgid": "73658ed0-edd3-11eb-bdf3-31f208f20801",
"msgid": null,
"status": "failed",
"err": "UNAUTHORIZED_REQUEST",
"errmsg": "The user is not the owner of the asset."
},
"responseCode": "CLIENT_ERROR",
"result": {}
}
Use the messageUtils to define the messages relevant to forms and the successResponse and successResponse functions to create the response structure.
The text was updated successfully, but these errors were encountered:
ChakshuGautam
changed the title
ODK Forms API not conforming to the API spec
APIs not conforming to the API spec
Jul 28, 2021
snehar-nd
added a commit
to snehar-nd/uci-apis
that referenced
this issue
Jul 29, 2021
Similar to how the
bot
anduserSegment
APIs have a concrete request-response structure, the ODK forms API is not following the same.Use the
messageUtils
to define the messages relevant toforms
and thesuccessResponse
andsuccessResponse
functions to create the response structure.The text was updated successfully, but these errors were encountered: