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

carbon3d.BuildsApi.get_build returns incorrect missing parameter message when uuid is empty string #8

Open
Jbveas01 opened this issue Jul 18, 2024 · 0 comments

Comments

@Jbveas01
Copy link

Jbveas01 commented Jul 18, 2024

Currently when you execute
carbon3d.BuildsApi.get_build(uuid="")
it returns the error below instead of an error related to the missing uuid

Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Date': 'Thu, 18 Jul 2024 19:31:29 GMT', 'Content-Type': 'text/plain; charset=utf-8', 'Content-Length': '90', 'Connection': 'keep-alive', 'server': 'nginx/1.14.0 (Ubuntu)', 'access-control-allow-origin': '*', 'access-control-allow-credentials': 'true', 'x-dns-prefetch-control': 'off', 'x-frame-options': 'SAMEORIGIN', 'strict-transport-security': 'max-age=15552000; includeSubDomains', 'x-download-options': 'noopen', 'x-content-type-options': 'nosniff', 'x-xss-protection': '1; mode=block', 'retry-after': '10', 'x-ratelimit-limit': '200', 'x-ratelimit-remaining': '199', 'x-ratelimit-reset': '1721331099538', 'etag': 'W/"5a-p3toFnvKHJidlRLNoQUsLAOBUeI"'})
HTTP response body: Request has one or more errors
  In query parameters
    Missing required parameter: limit
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