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

BUG: Use of float for kin amount in python causes 500 errors #582

Open
mocolicious opened this issue Jan 31, 2024 · 0 comments
Open

BUG: Use of float for kin amount in python causes 500 errors #582

mocolicious opened this issue Jan 31, 2024 · 0 comments

Comments

@mocolicious
Copy link
Contributor

Use of float for kin amount in python causes 500 errors.

Found by @geoffwhittington using the python SDK

File "/home/geoff/projects/perk_payments/backend/.pyenv/lib/python3.10/site-packages/kinetic_sdk/generated/client/rest.py", line 306, in POST return self.request( File "/home/geoff/projects/perk_payments/backend/.pyenv/lib/python3.10/site-packages/kinetic_sdk/generated/client/rest.py", line 238, in request raise ServiceException(http_resp=r) kinetic_sdk.generated.client.exceptions.ServiceException: Status Code: 500 Reason: Internal Server Error HTTP response headers: HTTPHeaderDict({'Content-Length': '52', 'Content-Type': 'application/json; charset=utf-8', 'Date': 'Wed, 31 Jan 2024 04:57:54 GMT', 'ETag': 'W/"34-rlKccw1E+/fV8niQk4oFitDfPro"', 'Vary': 'Origin', 'X-Powered-By': 'Express'}) HTTP response body: {"statusCode":500,"message":"Internal server error"}

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

1 participant