cuenca-mx / cuenca-mx/cuenca-python

KeyError: 500

Open
#235 0 comments 0 reactions 1 assignee View on GitHub

@felipao-mx is already working on this.

Since Mar 9, 2022.

Dominant language
Python
Stars
12
Forks
14
Avg merge
2h 9m
Merged PRs (30d)
2

Description

Sentry Issue: CUENCA-4S1

KeyError: 500
(5 additional frame(s) were not displayed)
...
  File "cuenca/resources/base.py", line 54, in retrieve
    resp = session.get(f'/{cls._resource}/{id}')
  File "cuenca/http/client.py", line 86, in get
    return self._request_json('get', endpoint, params=params)
  File "cuenca/http/client.py", line 98, in _request_json
    return json.loads(self.request(*args, **kwargs))
  File "cuenca/http/client.py", line 126, in request
    self._check_response(resp)
  File "cuenca/http/client.py", line 135, in _check_response
    raise ERROR_CODES[json['code']](json['error'])

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.