Recebendo um erro interno 500 ao tentar convidar usuários pela API de convite

Hi,

Ive been trying to send invites to users to by discussion board via the invites API and i keep running into a 500 internal error.

Any advice.

{
"email": "anitsirc+3@gtechme.com",
"skip_email": false,
"custom_message": "string",
"max_redemptions_allowed": 5,
"group_id": 0,
"group_names": "string",
"expires_at": "controlled by invite_expiry_days site setting"
}

I think ‘expires_at’ is supposed to be a timestamp. If you omit the value, then it will use the site setting value. Can you try removing expires_at from your call?

2 curtidas

It worked. Thank you

2 curtidas

This topic was automatically closed after 15 hours. New replies are no longer allowed.