Ask Your Question

THAAR - 403 Forbidden on images [closed]

asked 2022-01-24 10:19:57 -0600

updated 2022-08-16 16:17:06 -0600 Username - RETSTHELMAN

Using GetObject Location=1, getting random 403 Forbidden on images. It works on a second or third attempt.

The 403 Forbidden happens on the url "//CDN" randomly.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by tphu
close date 2022-01-28 16:15:18.037836


Are you adding "http:" or "https:" to the URLs that are returned as relative starting with "//CDN"?

bwolven gravatar imagebwolven ( 2022-01-25 07:55:45 -0600 )edit

Yes, https is added to the URL. For MLS#96815, we retrieved 9 of 17 images from the url before seeing the 403 error. Then 2 hours later, we retrieved all 17 image urls successfully.

tphu gravatar imagetphu ( 2022-01-25 09:17:52 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2022-01-28 08:34:58 -0600

updated 2022-01-28 08:55:18 -0600

When pulling images using the URL returned by either the Media resource or GETOBJECT with Location=1. There is a Rate limit of: 5000 requests within 5 minutes, per IP Address, across all "cdnpara*" image URLs. When the limit is exceeded, the IP address is then blocked for several hours and a 403 error is returned while it is blocked. Limits were implemented to address abuse and to ensure stability of systems for our customers. To avoid this, you can add delays between image requests and/or you can also use multiple IP addresses, especially if you access multiple MLSs.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2022-01-24 10:19:57 -0600

Seen: 169 times

Last updated: Jan 28