Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Yelp API using tHTTPRequest with OAuth 2

I am trying to access Yelp API in Talend using tHTTPRequest component please see the screen for setting for more details, every time i am getting 400 bad request error any help.
0683p000009MEkY.png
Labels (2)
7 Replies
Anonymous
Not applicable
Author

Hi
Take a look at this page to know more about 400 bad request error and check the error in the URL as suggested.
Shong
Anonymous
Not applicable
Author

OAuth 2.0 can be pretty tricky to get to grips with. I have not used Yelp, but I have got it working quite nicely with Google. I've written a tutorial on using OAuth 2.0 with Google's products here. You may be able to extrapolate from it.
I hope it helps
vishnukumartj
Contributor
Contributor

Hi @rhall

I am not able to access the link you provided, can you please send me the new link or content?

 

Stephen-Elves
Contributor
Contributor

It think they went bust so the links are broken, which is a shame as they were a very useful part of the Talend Community, the content linked to is still available at:

https://web.archive.org/web/20160315174809/http://rilhia.com/tutorials/using-oauth-20-talend-access-...

Stephen-Elves
Contributor
Contributor

Talend could do everyone a favour and see if they can buy the content and post it on this site.

Jesperrekuh
Specialist
Specialist

You first need to get the oAuth2 token from the given url in your documentation.
Next is using the returned token and provide it in the header while doing a api call, like search.

add the header: "Authorization" and its value is "Bearer yourtokenformpreviousRestcomponentCall"

 

 

vishnukumartj
Contributor
Contributor

Thank you Stephen, It should really help