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

AttributeError during Maintenance #32

Open
jTiKey opened this issue Nov 14, 2021 · 0 comments
Open

AttributeError during Maintenance #32

jTiKey opened this issue Nov 14, 2021 · 0 comments

Comments

@jTiKey
Copy link

jTiKey commented Nov 14, 2021

AttributeError at /api/payments/create_package_charge/3/ 'NoneType' object has no attribute 'get'

File "/coinbase_commerce/api_resources/base/create_api_resource.py" in create
  12.         response = cls._api_client.post(cls.RESOURCE_PATH, data=params)

File "/coinbase_commerce/client.py" in post
  109.         return self._request('post', *args, **kwargs)

File "/coinbase_commerce/client.py" in _request
  79.             proceeded_response = self._proceed_response(response)

File "/coinbase_commerce/client.py" in _proceed_response
  84.             raise build_api_error(response)

File "/coinbase_commerce/error.py" in build_api_error
  109.     error_id = error.get('type', '')

The response:

{"type":"maintenance","message":"Coinbase Commerce is under maintenance. Follow @commercecb on Twitter for more information."}'

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

No branches or pull requests

1 participant