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

Required parameters are not checked #73

Open
fschoell opened this issue Sep 17, 2024 · 0 comments
Open

Required parameters are not checked #73

fschoell opened this issue Sep 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@fschoell
Copy link

fschoell commented Sep 17, 2024

Requesting data from an endpoint that has required parameters, but not sending those parameters results in an empty data response (instead of an error).

For example /transfers requires contract and symcode as of the Swagger docs.
If you access http://eos.antelope-token-api.pinax.mar-prod1.pinax.io/transfers directly it doesn't result in an error message, but just in an empty response which is misleading for users.

Expected Behavior

Return a proper error describing which parameters are missing.

Current Behavior

Returns an empty data array.

@fschoell fschoell added the bug Something isn't working label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants