Zoho Learn Add members to a course API issues

Zoho Learn Add members to a course API issues

Hello,

Been having an issue with the add members to a course API for quite some time now.

  1. uids = list();
  2. uids.add(ZUID);
  3. paramMap = {"userIds":{"" + uids + ""}};
  4. addmember = invokeurl
  5. [
  6. url :"https://learn.zoho.eu/learn/api/v1/portal/" + portal + "/course/" + courseid + "/member"
  7. type :POST
  8. parameters:paramMap.toString()
  9. connection:"learn_connection"
  10. ];
No matter what, I always get Internal Server Error as the repsonse.



I have joined multiple meetings with Zoho support since January and they've given me multiple code lines to try out but it never works. It's always the same issue.

I am unsure if something is wrong with their backend or if the structured JSON is just wrong. I've tried everything I feel like.