About using Python,Post 500 to report errors in nailing interface

I use Python to handle the interface of nails

now there is a problem. If all get requests are available, post data will report 500error

the interface I use is (get the number of users to be approved)
https://open-doc.dingtalk.com.

this can be said that there is no ambiguity. Post has only one parameter

.
url = "https://oapi.dingtalk.com/topapi/process/gettodonum?access_token=%s" % access_token

data = {
    "userid": "manager4012"
}

headers = {
    "Content-Type": "application/json"
}

r = requests.post(url, data=json.dumps(data), headers=headers)
print(r.text)

error report:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white"><script>
with(document)with(body)with(insertBefore(createElement("script"),firstChild))setAttribute("exparams","category=&userid=&aplus&yunid=&asid=AQAACADXmhdb3r3FKQAACACKRiLMGAxPpg==",id="tb-beacon-aplus",src="//g.alicdn.com/alilog/mlog/aplus_v2.js")
</script>

<h1>500 Internal Server Error</h1>

The server encountered an internal error or misconfiguration and was unable to complete your request.</body>

headers utf-8 is also specified, and the json string is converted

do not understand why there is an error, there is no reason for 500 errors

Mar.19,2021

the nailing server failed, so 500 errors. Try again after two days and recover.

Menu