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

Failed to load resource: the server responded with a status of 429 #1868

Closed
8 of 10 tasks
kydner opened this issue Feb 21, 2023 · 5 comments
Closed
8 of 10 tasks

Failed to load resource: the server responded with a status of 429 #1868

kydner opened this issue Feb 21, 2023 · 5 comments
Labels
m: image Something is referring to the image module question Further information is requested wontfix This will not be worked on

Comments

@kydner
Copy link

kydner commented Feb 21, 2023

Pre-Checks

Describe the bug

i used faker image, but always error 429 when i reload browser, how handle this error?

Minimal reproduction code

No response

Additional Context

No response

Environment Info

npmPackageFaker: image

Which module system do you use?

  • CJS
  • ESM

Used Package Manager

yarn

@kydner kydner added c: bug Something isn't working s: pending triage Pending Triage labels Feb 21, 2023
@ST-DDT
Copy link
Member

ST-DDT commented Feb 21, 2023

i used faker image, but always error 429 when i reload browser, how handle this error?

Please paste the entire error here message here.
Did the image module return an url that was invalid or couldn't you generate an url?

  • Missing Minimal reproduction code

@ST-DDT ST-DDT added the s: awaiting more info Additional information are requested label Feb 21, 2023
@kydner
Copy link
Author

kydner commented Feb 21, 2023 via email

@kydner
Copy link
Author

kydner commented Feb 21, 2023

On first load is error 429 but, when reload again on same url success

@Shinigami92
Copy link
Member

429 Too Many Requests https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429

This is not related to Faker itself but that you are doing to many requests from your client to this provider
Faker "just" concatenates a string that is at the end an URL that the user who use Faker can then call.


BUT! I see you are using these for avatars and so I assume you need it the same as I need it for my project to mock some faces. We were talking already about how we could provide some alternatives for this and e.g. wanted to have a provider that provides AI generated non real world person faces. But a paid or non-deterministic provider is not an option.

A second alternative might be to create a repo under @faker-js org and upload images there. This would bring maintenance burden and also we might run into legal issues if we don't care to much about the data as then they are in our responsibility were as the current set is not that much but was "gifted" to us as a present (#95 (comment))

@ST-DDT
Copy link
Member

ST-DDT commented May 7, 2023

The original issue is outside of our control so I consider this as nothing to do for us here except documentation which is covered by #1783.

@ST-DDT ST-DDT closed this as not planned Won't fix, can't repro, duplicate, stale May 7, 2023
@ST-DDT ST-DDT added question Further information is requested wontfix This will not be worked on m: image Something is referring to the image module and removed c: bug Something isn't working s: pending triage Pending Triage s: awaiting more info Additional information are requested labels May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
m: image Something is referring to the image module question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants