Please provide me a screenshot of the error. If you are getting an invalid API key error, it is likely due to some sort of formatting error on your side. Please ensure that there are no leading or trailing spaces, or tabs or end-of-line characters you have over there. There is no way to bypass this error.
however there doesn’t seem to be any way i can enter this manually. i therefore can’t set the default user.
Not sure I am following you. If Flickr has provided you with your user id, you can specify it via Photonic → Settings → Flickr → Flickr Settings → Default User.
But the “Invalid API key” error is a hard stop. Without resolving it you cannot move ahead.
Thread Starter
antzz
(@antzz)
excuse my ignorance but what is the best way to provide you with a screenshot as i can’t see anywhere to attach a file?
-
This reply was modified 5 years, 7 months ago by
antzz.
Typically you can upload it to your media library and provide a link to the image here. Alternatively you can upload it to Imgur or other public websites, as long as you are not providing any confidential information.
But before you do so, can you confirm that you have no invisible leading or trailing spaces stored in the API key field?
Thread Starter
antzz
(@antzz)
ok, yes there is no leading or trailing spaces, i have copied and pasted straight from browser
Thread Starter
antzz
(@antzz)
ok, yes there is no leading or trailing spaces, i have copied and pasted straight from browser
Sorry to be pedantic, but did you double-click on the key in the browser and paste it? Or did you select the information by dragging the mouse. The reason I ask is twofold: first, the double-click keeps a trailing space, and second, I just tested this on a local install with a trailing space, and it definitely causes the error.
Another way to verify that you have some hidden characters is to do create a blank post and simply put in this shortcode:
[gallery type='flickr' view='photos' user_id='abc']
You will replace the user_id with yours. If you indeed have a trailing space, the shortcode will render without issue in the front-end. This is because in the main front-end code I have taken care to strip out the spaces in the API key if they were inadvertently left in.
Thread Starter
antzz
(@antzz)
ah sorry, there was a space, all good now. thanks for your help