-
I tried adding user to a group with below data -
I tried with with and without group id parameter.
I am not able to add the user.
Can anyone can please guide me through this ?{
"members": {
"d7955967-5d0b-4001-9325-a7900436b8bc": [
{
"userId": "45e03a95-33fd-45e6-9d2f-0f8f82e7f8cc",
"groupId" : "d7955967-5d0b-4001-9325-a7900436b8bc"
}
]
}
}Output -
{
"fieldErrors": {
"group": [
{
"code": "[missing]group",
"message": "Your request is missing the Group information as JSON in the entity-body."
}
],
"groupId": [
{
"code": "[couldNotConvert]groupId",
"message": "Invalid"
}
]
},
"generalErrors": []
} -
There were extra spaces in the URL after member in .../api/group/member___. Issue is resolved.
-
S sandesh has marked this topic as solved on
-
@sandesh Thanks for sharing her on the forum. Hope you are able to accomplish your end goal with the APIs.
-
D dan moved this topic from Q&A on
-
D dan moved this topic from Frequently Asked Questions (FAQ) on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login