Obtenir une erreur interne 500 en essayant d'inviter des utilisateurs via l'API d'invitation

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 « J'aime »

It worked. Thank you

2 « J'aime »

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