No data returned. Error code 403
-
When selecting ‘multiple galleries options’ and clicking on “Next”, Photonic Gallery & Lightbox for Flickr, SmugMug, Google Photos & Others plugin displays a 403 error on the backend.
Also, displays an unknown error on the frontend.Please see the below screenshot.
https://prnt.sc/Ju2le7hiw2sJ
-
Are you using Zenfolio? If so, what is the URL of your Zenfolio page? If it is at “zenfoliosite” instead of “zenfolio”, their API doesn’t support it. See here: https://wordpress.org/support/topic/zenfolio-connect/ .
If you are not using Zenfolio, then please provide information about your platform.
“The plugin is working properly on the staging site.”
Please see the below information of our site.
https://wspphotography.zenfolio.com/If it is working on your staging site, then you likely have a configuration issue in how you have set up your main site. Are you trying to use authentication? If yes, have you done your authentication properly on your main site? A 403 error code refers to unauthorized access.
We are able to log in to the Zenfolio site properly.
https://www.zenfolio.com/
The plugin shows an error message “Failed to get Challenge” while adding a password for Zenfolio Authentication in the backend.
After debugging, we found out that the API call is not being made.After debugging, we found out that the API call is not being made.
The API call is being made – it is failing, which is why you are getting a 403 error (the error code is returned by the server).
Do you need to use authentication?
Obviously, your authentication is working on your staging site but not on your production site.
Not only the authentication but gallery is also not working on the frontend.
Screenshot: https://prnt.sc/Ex66_h2S0CGg
URL: https://www.wsp.wa.gov/wsp-photography/Do you need authentication? Do you have private albums?
Also, what is the difference in settings between your Staging and Production environments?
-
This reply was modified 1 year, 11 months ago by
Sayontan Sinha.
It was working even without authentication.
There is no difference between staging and live site.
It was working even without authentication.
If it is working without authentication, then please delete your authentication credentials.
There is no difference between staging and live site.
There is a difference, likely in the security configuration for your site, in terms of what is allowed in Staging vs. Live. You might need to ask your host to troubleshoot the requests going out from your site. If you are passing the correct password, the failure to get a challenge means that something incorrect is going out from your site. The plugin code is the same in both places, so it means that there is some aspect of server configuration that is different between the two places.
Regardless, if you don’t have private photos, then do your Photonic setup without authentication.
We applied a different approach to the plugin code but the API response from the Zenfolio server always returns empty on the site.
We used the same code on the local server and got the expected response from the Zenfolio server with the same request parameter.We applied a different approach to the plugin code but the API response from the Zenfolio server always returns empty on the site.
What type of a different approach?
We used the same code on the local server and got the expected response from the Zenfolio server with the same request parameter.
As mentioned in my previous responses, the issue is not with the code, but with your server configuration. This could mean anything from your live site blocking certain types of requests, to having some type of security settings implemented via plugins. You will have to ask your hosting platform for help with this.
Also as mentioned previously, if you don’t need authentication, can you delete the authentication credentials and retry? I cannot figure out from your responses if you have tried removing authentication on your live site.
Thank You.
Can you please remove this thread? I provided the client’s site URL without their permission, and now the client asked us to remove it.
Sorry, I don’t have the privileges to remove information or redact links.
I am tagging moderators to see if they can help.
Moderator note:
Unless it is an extreme case, posts and replies are not edited here.
Forum topics will only be edited or deleted if they represent a valid legal, security, or safety concern.
See https://wordpress.org/support/forum-user-guide/faq/#will-you-delete-my-post-once-the-problem-is-solved and https://wordpress.org/about/privacy/
-
This reply was modified 1 year, 11 months ago by
The topic ‘No data returned. Error code 403’ is closed to new replies.