[KnackSteem API] [v1] – 404 error returned while visiting the site with message: There are not results matching your query.

in #utopian-io6 years ago

Project Information

Expected behavior

Not having any contributions yet on the site, should not cause any errors.

Actual behavior

This api call:
https://api.knacksteem.org/v1/stats/users?username=helo
returns: {"status":404,"message":"There are not results matching your query."}

while a user with posts like:
https://api.knacksteem.org/v1/stats/users?username=knowledges
gets: a much nicer status 202: {"status":200,"results":[{"roles":["supervisor","moderator","contributor"],"isBanned":false,"bannedUntil":null,"banReason":null,"bannedBy":null,"username":"knowledges","createdAt":"1532936994"}],"count":1}

This bug causes misleading error messages to the font end and to the console.

How to reproduce

Access the front end while logged in or the API with any STEEM user that has not contributed to KnackSteem yet.

  • Browser/App version: Chrome
  • Operating system: Windows/Linux

Recording Of The Bug

Accepted GitHub Issue

GitHub Account

Sort:  

Thank you for contributing to Utopian!

Seeing as this was acknowledged by the P.O as valid and being worked on, it doesn't really matter how I reproduced it, but indeed I could see this erroneous behavior when I logged in with my user.

It's not critical per se, but indeed important at this point in the product life cycle for it to be addressed. I would suggest you give the team there some more feedback regarding the on-boarding process for their platform, I think it would prove to be quite valuable, especially with your expertise.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Hi,

I already reported this under the announcement post of knacksteem. I thought they already fixed that :D

Kind regards

The Secret Service

Hey @helo
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.029
BTC 58039.01
ETH 2460.08
USDT 1.00
SBD 2.32