Re: Permission denied trying to access image for offer

AndrewGrata
Regular Visitor

Permission denied trying to access image for offer

Hey, 

 

I've been using 

https://offerswidget.visa.com/api/v1.1/json/offersListing?userKey=

to get all the offers, and in the result there's images for each offer. e.g.

https://www.visa.com/images/merchantoffers/2018-10/1540800521329.VisaSpecialOffersKorea_Jump_Image1_400x300.jpg

I'm able to open the image in the browser, but when I'm trying to download this image on to the server I get an access denied page.

 

<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>
 
You don't have permission to access "http&#58;&#47;&#47;www&#46;visa&#46;com&#47;images&#47;merchantoffers&#47;2018&#45;10&#47;1540800521329&#46;VisaSpecialOffersKorea&#95;Jump&#95;Image1&#95;400x300&#46;jpg" on this server.<P>
Reference&#32;&#35;18&#46;f814d23c&#46;1542624005&#46;4865c385
</BODY>
</HTML>

 Not sure what am I missing. Any help is appreciable.

3 REPLIES 3
API_Managers
Visa Developer Support Specialist

Re: Permission denied trying to access image for offer

Hi @AndrewGrata,

 

Please refer to the Support link below.

 

Support > Frequently Asked Questions > We are getting an “Access Denied” message when trying to connect to sandbox. How should I address this? - https://developer.visa.com/pages/support

 

                              




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

AndrewGrata
Regular Visitor

Re: Permission denied trying to access image for offer

Hi,

 

I've tried to update my certificate and the related jks file, the response is the same.

I don't think it's the problem with the certificate: 

1. We were never using the certificate to read images before, and it was fine.

2. I was able to get the offer list from the API call, hence my old certificate should be working.

And for the record, I wasn't using the sandbox API at all, it's just reading a file from URL using java.

 

Thanks

API_Managers
Visa Developer Support Specialist

Re: Permission denied trying to access image for offer

Hi @AndrewGrata,                             

 

After further investigation of the issue, it looks like there was a temporary hiccup in connectivity to login to developer.visa.com. I recommend you to clear out the cookies and cache from the Chrome browser and retry.

 

If the issue persists, please submit your inquiry to developer@visa.com because additional information will be needed from you.

 

 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.