Dear Grace,
thank you for contacting us and your question.
Currently, error 500 is likely to occur because your REST request is not properly formatted.
Can you please provide us with the FULL request that is posted on our server (not only your code but the full request), so that we can try to replay it on our side as find out whhat is not properly set.
Thank you,
Best regards,
Olivier
Thanks。the problem has been solved
Dear Grace,
thank you for the update, I am glad you found out the cause.
Best regards,
Olivier
Grace Gu
Code blow image

Debug Info :