Recent searches


No recent searches

Ashley Johnson's Avatar

Ashley Johnson

Joined Jan 25, 2022

·

Last activity Feb 07, 2022

Following

0

Followers

0

Total activity

5

Votes

0

Subscription

1

ACTIVITY OVERVIEW

Latest activity by Ashley Johnson

Ashley Johnson commented,

Community comment Developer - Zendesk APIs

The solution to this problem was that Zendesk has an admin option called enable multiple organisations for users which is not enabled by default. That API error message isn't clear, but enabling this option allowed me to add the organisation memberships.

 

View comment · Posted Feb 07, 2022 · Ashley Johnson

0

Followers

0

Votes

0

Comments


Ashley Johnson commented,

Community comment Developer - Zendesk APIs

Thanks Jason, I've just tested with this:

{
"organization_memberships":[
{
"user_id":388246483398,
"organization_id":360599321098
},
{
"user_id":388246483398,
"organization_id":360599321218
},
{
"user_id":388246483398,
"organization_id":360599321238
},
{
"user_id":388246483398,
"organization_id":360599321278
},
{
"user_id":388246483398,
"organization_id":360599321338
}
]
}

View comment · Posted Jan 27, 2022 · Ashley Johnson

0

Followers

0

Votes

0

Comments


Ashley Johnson commented,

Community comment Developer - Zendesk APIs

Sorry, I was trying to show the format, but made it confusing.

If I send one membership in the body, it appears to work. If I send more than one membership, I get that error.

View comment · Edited Jan 26, 2022 · Ashley Johnson

0

Followers

0

Votes

0

Comments


Ashley Johnson created a post,

Post Developer - Zendesk APIs

I'm trying to send a POST request to /api/v2/organization_memberships/create_many but always get this response:

error: TooManyValues
description: Parameter organization_memberships cannot specify more than 1 values
max_count: 1

Which seems odd for a create_many endpoint. The request body is

{
"organization_memberships": [
{
"user_id":388246483398,
"organization_id":360606612137
}
]
}

Just wondering if anyone has seen this before, and have any ideas what the problem might be? Any help would be most appreciated.

Posted Jan 25, 2022 · Ashley Johnson

0

Followers

3

Votes

6

Comments