Invalid value for parameter userSubType while user/v3/update #3287
Unanswered
raghupathiguduri
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@reshmi-nair @amit-tarento
We are getting below error when we try to update user profile.
Invalid value hm for parameter userSubType
Below is the api with data
curl 'https://dhruva.shikshalokam.org/learner/user/v3/update'
-X 'PATCH'
-H 'Accept: application/json'
-H 'Accept-Language: en-GB,en;q=0.9'
-H 'Connection: keep-alive'
-H 'Content-Type: application/json'
-H 'Cookie: connect.sid=s%3Atyars1IAh54jUl7T0yuGsm7eHwxxmYP0.J%2B5avxcaq5EMPJ7mUqQACEJWQDjQXt4E5GqMsxgARAg'
-H 'Origin: https://dhruva.shikshalokam.org/'
-H 'Referer: https://dhruva.shikshalokam.org/profile'
-H 'Sec-Fetch-Dest: empty'
-H 'Sec-Fetch-Mode: cors'
-H 'Sec-Fetch-Site: same-origin'
-H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36'
-H 'X-App-Id: slecosystem.slecosystem.portal'
-H 'X-App-Version: 4.6.0'
-H 'X-Channel-Id: 0124487522476933120'
-H 'X-Device-ID: f4fb462ca4fa764946b7c829e01a2c57'
-H 'X-Org-code: 0124487522476933120'
-H 'X-Request-ID: 5b63bc76-d4cc-3355-ee34-859d908291bc'
-H 'X-Session-ID: tyars1IAh54jUl7T0yuGsm7eHwxxmYP0'
-H 'X-Source: web'
-H 'X-User-ID: 0edbd37c-5613-47c5-90cd-f21898a08b25'
-H 'X-msgid: 5b63bc76-d4cc-3355-ee34-859d908291bc'
-H 'sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="100", "Google Chrome";v="100"'
-H 'sec-ch-ua-mobile: ?0'
-H 'sec-ch-ua-platform: "Linux"'
-H 'ts: 2022-04-12T17:15:01+05:30'
--data-raw '{"params":{},"request":{"userId":"0edbd37c-5613-47c5-90cd-f21898a08b25","profileLocation":[{"code":"KA","name":"Karnataka","id":"adf45b4d-9048-4e96-b04f-1c4845bd6488","type":"state"},{"code":"BLR-U","name":"Bangalore Urban","id":"d0793ea2-7aa8-4b2b-abd7-16e06c80ebfc","type":"district","parentId":"adf45b4d-9048-4e96-b04f-1c4845bd6488"}],"profileUserTypes":[{"type":"administrator","subType":"hm"},{"type":"administrator","subType":"teacher"},{"type":"administrator","subType":"beo"}],"firstName":"Support"}}'
--compressed
Also please find the form for profileconfig_v2
Untitled.txt
Please help us to resolve the issue.
cc: @kiranharidas187
Beta Was this translation helpful? Give feedback.
All reactions