Today we began getting a 500 Internal Server error html page when POSTing to /users to create a new user. We haven’t changed code in months and successfully were creating users 4 days ago.
@whughes I want to say this has been the behavior for quite some time now as I recall running into this null issue months/years ago. But I would need to double check with our API team for this specific endpoint. With that being said, I’m not sure where all your fields are coming from. The create meeting api only expects/accepts a subset of these fields. But in general, it’s best to omit fields that don’t have an explicit value.
We haven’t changed code in months and created users 4 days ago. As for null fields, either declare in the API that the fields cannot have null or not. Regardless, you can’t throw 500s on it.
@whughes@jjumper i totally understand the frustration and I agree. Any new changes to the api (regardless of what they may be) should be clearly documented with proper error codes. I will reach out to our API team.
Oh, what’s more, this error occurs BEFORE any token checks occur. So I can test this without a token.
That’s really odd behavior imo. Totally reproducible from reqbin.com at this very moment.
Our situation wasn’t a null field in our payload; for us it seems like it would fail on any field that is not part of the documented fields null or not.
The 500 response seems a little odd, it seems like you should be able to handle it and return an error with an invalid field message. If the api had returned a tangible response and error code; other then 500 and no message it could have cut hours off refactoring of code because I just didn’t know why & it had worked for over 2 years already.
I think the bigger concern is changing the API without publishing documentation on how it works soon enough before the change happens to the API. This is the second time this has happened to us with the zoom api. Last was the limit of 3 attempts to Register per meeting, zoom didn’t post anything about the change till 2 weeks after it was implemented(on a weekend!) and it took more then a month for your support to even give back an answer!
success
{“action”:“custCreate”,
“user_info”:{
“first_name”:“Test”,
“last_name”:“New User 102”,
“email":"virtual_11111111@domain.com”,
“type”:“1”}}
fails, worked for the last 2 years until Oct 12th 4am Pacific
{“action”:“custCreate”,
“user_info”:{
“first_name”:“Test”,
“last_name”:“New User 102”,
“people_id”:“11111111”,
“email":"virtual_11111111@domain.com”,
“type”:“1”}}
Probably, as that’s what worked in reqbin but not something we can implement easily or timely. That’d be a full production release on our end. Yeah, obviously same for zoom but in this case it would be reverting the release you evidently slipped in without informing anyone or even publishing it in your changelog.
I am not able to create user using post api https://api.zoom.us/v2/users it shows me error bad request. can anyone tell me what are the pre requesites for creting users. i want to integrate in SAP ABAP