Pinterest Predicts is live!
See what's in store for 2024 in our Trend Forecast report.

Pinterest API Auth Issues

digitalfuelshiny
New member
Labels (3)

I'm attempting to get my access code by navigating to the URL below with my redirect_url and client_id filled in.

https://www.pinterest.com/oauth/?client_id=xxxxxx&redirect_url=https://www.xxxxxxx.com&scope=ads:rea...

However when I go to this website, I get a message about authorizing app, which I click authorize, however then I get redirected to:

https://www.pinterest.com/business/hub/?show_error=true

I'm unclear about what I'm doing wrong.  I'm expecting the page to display some JSON with a code.

 

Any help would be appreciated.

0 Kudos
4 Replies
digitalfuelshiny
New member

@PinterestFernanda  or @PinterestThalyta any ideas here?

0 Kudos
PinterestThalyta
Moderator
Moderator

Hi @digitalfuelshiny. Welcome to the PBC! I'm sorry to hear you're having issues with the OAuth flow.

If all of the information was entered correctly on the previous steps, hitting the OAuth button should result in a page on www.pinterest.com that requests permission from the user to authorize your app. However, if the information was not entered correctly, you will see an error page that indicates a problem. There are three common issues that cause an error on the OAuth page:

  1. The application identifier (id) is incorrect. To fix this issue, double-check the App id entered on this page.
  2. The redirect URI does not match the registered URI. To fix this issue, verify that the redirect URI has been registered correctly on your application configuration page at developers.pinterest.com
  3. If you are writing your own code, it's also possible that the requested scopes are incorrect. 

If you're still having problems after checking the steps above, please reach out via Help Center (option: Pinterest API and Developer Tools -> API Technical Support) and we will investigate further. 🙂

 

0 Kudos
digitalfuelshiny
New member

@PinterestThalyta I'm still having issues.  Not sure if the link I'm using is right or now.  How can I further troubleshoot this?

0 Kudos
PinterestThalyta
Moderator
Moderator

Hi @digitalfuelshiny In this case, please reach out via Help Center (option: Pinterest API and Developer Tools -> API Technical Support) so we can investigate further.

0 Kudos