java-faker icon indicating copy to clipboard operation
java-faker copied to clipboard

Faker avatar image is broken

Open egemenvardar opened this issue 5 years ago • 6 comments

Describe the bug Avatar image does not work anymore. AWS returns the following error:

<Error>
<Code>AllAccessDisabled</Code>
<Message>All access to this object has been disabled</Message>
<RequestId>xxx</RequestId>
<HostId>xxx</HostId>
</Error>

To Reproduce

  • Go to demo app
  • Copy & paste the avatar link in your browser

Sample avatar image link: https://s3.amazonaws.com/uifaces/faces/twitter/vc27/128.jpg

Expected behavior Avatar images should work.

Versions:

  • Faker Version: 1.0.2

egemenvardar avatar Nov 26 '20 09:11 egemenvardar

May I ask that what would happen if clicking the link when it worked? Was it an image that appeared? I am just wondering whether it's just a fake link?

Zhang-Muyang avatar Mar 20 '21 08:03 Zhang-Muyang

I ended up using faker.internet.image(100,100,true,"") to work around the issue

david-truong avatar Jun 02 '21 16:06 david-truong

Even faker.internet.image(100,100,true,"") is not working. Avatar url is coming something like http://lorempixel.com/g/100/100/cats/

rahulcse1 avatar Dec 27 '23 14:12 rahulcse1

Please use Datafaker instead, it's fixed in our fork: http://github.com/datafaker-net/datafaker

bodiam avatar Dec 27 '23 20:12 bodiam