Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 Internal Service Error #18

Open
KTibow opened this issue Aug 29, 2020 · 4 comments
Open

500 Internal Service Error #18

KTibow opened this issue Aug 29, 2020 · 4 comments

Comments

@KTibow
Copy link
Contributor

KTibow commented Aug 29, 2020

Version of the custom_component

v0.3

Configuration

GUI.

Describe the bug

When I add my client ID, secret, and verification token, and click on add, it says "500 internal service error: server got itself in trouble" once I accept the permissions.

Debug log

2020-08-29 07:56:58 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 73, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 127, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 129, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 388, in get
    await hass.config_entries.flow.async_configure(
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 153, in async_configure
    result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 201, in _async_handle_step
    result: Dict = await getattr(flow, method)(user_input)
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 259, in async_step_creation
    token = await self.flow_impl.async_resolve_external_data(self.external_data)
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 145, in async_resolve_external_data
    return await self._token_request(
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 174, in _token_request
    resp.raise_for_status()
  File "/usr/local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 941, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 400, message='', url=URL('https://zoom.us/oauth/token')
@raman325
Copy link
Owner

I just re-set up my integration using the UI and was able to complete it successfully. Make sure the callback URLs specified in the Zoom app are correct and then try again, could have just been an issue on the Zoom side.

@KTibow
Copy link
Contributor Author

KTibow commented Aug 29, 2020

It was my fault, I forgot to add the developer name/email. Mind adding that to the docs?

@reffr
Copy link

reffr commented Jul 21, 2021

I couldn't get this to work. Then I remembered when I first setup HA I activated Nabu Casa. Once I disabled Nabu Casa it worked great. Do I need Nabu Casa? If so, is there a way to make it work with zoom integration?

@raman325
Copy link
Owner

hmm that shouldn't matter... did you get an exception? If so can you post it here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants