Getting an 500 internal error on trying to invite users via the invite API


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": "",
"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?


It worked. Thank you


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