NullDev / qwant-api

:crystal_ball: Unofficial API wrapper for qwant
https://qwant.com
Apache License 2.0
32 stars 4 forks source link

qwant-api error: The API returned the error code '7' #8

Open forgeFitnessUgym opened 4 years ago

forgeFitnessUgym commented 4 years ago

Hello,

Thank you for the great package. I use the api to search for images. It has been working for a couple of months, until recently. Now it always gets "qwant-api error: The API returned the error code '7'".

Could you please help to look into it? Thank you.

NullDev commented 4 years ago

Unfortunately those error codes are returned by qwant itself and are not documented. I currently do not have time to look into this due to military service

forgeFitnessUgym commented 4 years ago

Thank you for your reply. Good luck in the military service.

OlivierFreyssinet-old commented 3 years ago

This is an old issue but just in case someone encounters the same error, this error means that the locale parameter in the request is incorrect, so either remove it or use a correct locale (for instance "en_us")