Title: No Data Returned
Last modified: November 7, 2018

---

# No Data Returned

 *  Resolved [jplamb](https://wordpress.org/support/users/jplamb/)
 * (@jplamb)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/no-data-returned-2/)
 * I am getting “No data returned” error when i am trying to add images from Google
   to a post. I have setup the authentication and that all looks right.
 * I have tried all options (multiple pictures etc)with the same results, i have
   turned off the SSL auth and still have the same issue, i am told cURL is enabled.
 * thank you

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

 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/no-data-returned-2/#post-10857741)
 * Let’s try going old-school and publishing the shortcodes. E.g. follow the examples
   [here](https://aquoid.com/plugins/photonic/google-photos/albums/) for displaying
   multiple albums, or [here](https://aquoid.com/plugins/photonic/google-photos/photos/)
   for displaying photos within an album or an assortment of photos. You can use
   _Photonic → Helpers &garr; Google Photos_ to find all your album ids. You can
   also use a more text-based input style via _Add Media → Photonic_.
 * Once you insert a shortcode the old way, let me know of the results. If you can
   see the gallery on the front-end let me know about that as well, and if you cannot,
   can you provide me with the URL, please?
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/no-data-returned-2/#post-10858756)
 * Hi – if you can let me know if something like the following works on your front-
   end, I can investigate and see if there are some changes I need to make:
 * `[gallery type='google' view='albums']`
 * Though the gallery insertion workflow does work for a large number of people 
   using Google Photos, this is the 3rd report I have received of a “No data returned”
   error, so your inputs will help me track this down.
 *  Thread Starter [jplamb](https://wordpress.org/support/users/jplamb/)
 * (@jplamb)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/no-data-returned-2/#post-10860792)
 * Hello,
 * So i got it working using some of the steps you suggested.
 * i went to the first link you provided with the examples and adapted the short
   code to have one of my album IDs. when i did this the front end of my site showed
   an error from google saying that the API for Photos was not active and asked 
   me to go to a link to enable it. i did this and then after a few mins i could
   use the normal method of inserting images etc with out getting the “No Data Returned”
   error.
 * all looks to be working now. thank you for the quick support.
 * Many thanks
 *  Thread Starter [jplamb](https://wordpress.org/support/users/jplamb/)
 * (@jplamb)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/no-data-returned-2/#post-10860890)
 * Hello Again,
 * I needed to authenticate with a different Google account to made some notes on
   the steps required. happy for you to share them if you wish.
 * 1. go to [https://console.developers.google.com/apis/library](https://console.developers.google.com/apis/library)
   
   2. create a project (if one does not already exist) 3. Press “Enable” 4. press“
   Create Credentials” 5. Select “Photos Library API” from the first drop down box
   5. Select “Web Browser (Javascript)” from the second drop down 6. Select “User
   Data” from the options below 7. Name “Photonic” 8. enter website URL 9. Enter
   Redirect URLs 10 “Product Name to Show to Others” as “Photonic” 11. press “I’ll
   do this later” 12. Press the pencil to edit the oAuth 13. copy the client ID 
   and Secret into WP Settings 14. authenticate in the Photonic settings 15. Get
   Token 16. Enter Token in settings
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/no-data-returned-2/#post-10861181)
 * Very happy to hear that it is working!
 * Thanks a lot for the steps. I do believe I have captured most of them in the 
   documentation links [here](https://aquoid.com/plugins/photonic/picasa/#project-creation),
   [here](https://aquoid.com/plugins/photonic/picasa/#api-key) and [here](https://aquoid.com/plugins/photonic/google-photos/#api-key).
   I do notice that some of the steps you have listed are different from my documentation,
   e.g. the point about selecting “Web Browser (Javascript)”. Did the steps in my
   documentation not work?
 *  Thread Starter [jplamb](https://wordpress.org/support/users/jplamb/)
 * (@jplamb)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/no-data-returned-2/#post-10871020)
 * Hello,
 * i followed your documentation but i am not sure if there is another step in there
   now that Google have added, it may also be that i have not fully read something
   in your documentation.
 * Many thanks

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

The topic ‘No Data Returned’ 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/)

 * 6 replies
 * 2 participants
 * Last reply from: [jplamb](https://wordpress.org/support/users/jplamb/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/no-data-returned-2/#post-10871020)
 * Status: resolved