TonyT
BuildShip2y ago
2 replies
Tony

Tripadvisor API Help

Hi, I have been trying to hit the tripadvisor API. I can successfully return info via Postman, however, in buildship I get a 200, yet it still returns as unauthorized. I've included my secret key as an query param as specifced too, seeing if anyone has any thoughts on what else I can try?
Screenshot_2024-06-15_at_11.00.36_AM.png
Solution
Hi @Tony, This is already resolved over email, also sharing the solution here for the community: In your node, You added the key in the wrong format, it should be in the form of object string and according to Tripadvisor's documentation, it requires to be passed as a query parameter.
https://tripadvisor-content-api.readme.io/reference/getlocationdetails.

Passing the locationID along w/ the key in the query parameters should fix the issue for making a request to this API.
Was this page helpful?