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.
Thanks。the problem has been solved
thank you for the update, I am glad you found out the cause.
Code blow image
Debug Info ：