Title: No data returned. Error code 403
Last modified: April 26, 2024

---

# No data returned. Error code 403

 *  Resolved [systemseeder5](https://wordpress.org/support/users/systemseeder5/)
 * (@systemseeder5)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/)
 * 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](https://prnt.sc/Ju2le7hiw2sJ)

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/#post-17715678)
 * 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/](https://wordpress.org/support/topic/zenfolio-connect/).
 * If you are not using Zenfolio, then please provide information about your platform.
 *  Thread Starter [systemseeder5](https://wordpress.org/support/users/systemseeder5/)
 * (@systemseeder5)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/#post-17715795)
 * “The plugin is working properly on the staging site.”
   Please see the below information
   of our site.[https://wspphotography.zenfolio.com/](https://wspphotography.zenfolio.com/)
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/#post-17715903)
 * 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.
 *  Thread Starter [systemseeder5](https://wordpress.org/support/users/systemseeder5/)
 * (@systemseeder5)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/#post-17725493)
 * We are able to log in to the Zenfolio site properly.
   [https://www.zenfolio.com/](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.
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/#post-17726114)
 * > 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.
 *  Thread Starter [systemseeder5](https://wordpress.org/support/users/systemseeder5/)
 * (@systemseeder5)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/#post-17726138)
 * Not only the authentication but gallery is also not working on the frontend.
   
   Screenshot: [https://prnt.sc/Ex66_h2S0CGg](https://prnt.sc/Ex66_h2S0CGg)URL: 
   [https://www.wsp.wa.gov/wsp-photography/](https://www.wsp.wa.gov/wsp-photography/)
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/#post-17726148)
 * 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 2 years, 1 month ago by [Sayontan Sinha](https://wordpress.org/support/users/sayontan/).
 *  Thread Starter [systemseeder5](https://wordpress.org/support/users/systemseeder5/)
 * (@systemseeder5)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/#post-17726212)
 * It was working even without authentication.
 * There is no difference between staging and live site.
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/#post-17726221)
 * > 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.
 *  Thread Starter [systemseeder5](https://wordpress.org/support/users/systemseeder5/)
 * (@systemseeder5)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/#post-17731143)
 * 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.
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/#post-17731220)
 * > 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.
 *  Thread Starter [systemseeder5](https://wordpress.org/support/users/systemseeder5/)
 * (@systemseeder5)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/#post-17743107)
 * 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.
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/#post-17744136)
 * Sorry, I don’t have the privileges to remove information or redact links.
 * I am tagging moderators to see if they can help.
 *  Moderator [Support Moderator](https://wordpress.org/support/users/moderator/)
 * (@moderator)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/#post-17744139)
 * 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](https://wordpress.org/support/forum-user-guide/faq/#will-you-delete-my-post-once-the-problem-is-solved)
   and [https://wordpress.org/about/privacy/](https://wordpress.org/about/privacy/)

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘No data returned. Error code 403’ is closed to new replies.

 * ![](https://ps.w.org/photonic/assets/icon.svg?rev=1972449)
 * [Photonic Gallery & Lightbox for Flickr, SmugMug & Others](https://wordpress.org/plugins/photonic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photonic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photonic/)
 * [Active Topics](https://wordpress.org/support/plugin/photonic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photonic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photonic/reviews/)

 * 15 replies
 * 3 participants
 * Last reply from: [Support Moderator](https://wordpress.org/support/users/moderator/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-returned-error-code-403-2/#post-17744139)
 * Status: resolved