You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make a "meeting_delete" request to an inexistent ID and I'm seeing a non expected behaviro.
What I expect is for the client to raise a Zoom::NotFound error, as the request status_code is 404.
As I dig a bit into this repository codebase, I found myself in this part:
Which should properly map code 404 to NotFound right?
But, the http_response is returning a hash with the following content:
{"code"=>3001,"message"=>"Meeting is not found or has expired."}
And this weird code 3001 is the code mapped in the method raise_if_error! above.
I checked and the http_response actually is 404.
So, I guess Zoom has internally different code for different issues, but the regular HTTP status code remains as expected (404 for non existing resources)
Perhaps this mapping of code and Error should be using http_code and not response['code']?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi all! Thanks for you hard work :)
I'm trying to make a "meeting_delete" request to an inexistent ID and I'm seeing a non expected behaviro.
What I expect is for the client to raise a
Zoom::NotFound
error, as the request status_code is 404.As I dig a bit into this repository codebase, I found myself in this part:
Which should properly map code 404 to
NotFound
right?But, the
http_response
is returning a hash with the following content:And this weird code 3001 is the code mapped in the method
raise_if_error!
above.I checked and the http_response actually is 404.
So, I guess Zoom has internally different code for different issues, but the regular HTTP status code remains as expected (404 for non existing resources)
Perhaps this mapping of code and Error should be using http_code and not response['code']?
Thanks!
The text was updated successfully, but these errors were encountered: