We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Jul 1, 2022 4:57 AM
Hi there!
I'm trying to use Settings API to get users information by the following endopoint.
endpoint => /settings/v3/users/
Although I surely added the scope(settings.users.read) to my auth app settings and the redirect url to my client app seems not wrong, I got the following error message.
Couldn’t complete the connection
An invalid scope name was provided. Please contact the app developer.
Is there any requirements for using Settings API?
(My account is free developer's account.)
I would appreciate it if you could help to solve my issue.
Thanks!
Jul 1, 2022 1:33 PM
Hey, @TaroSato 👋 I can confirm that it works as expected in testing from the endpoint page and via Postman using a Private App in my App Test Account.
My scopes:
The Endpoint:
GET/settings/v3/users/{userId}
My Request:
curl --request GET \
--url https://api.hubapi.com/settings/v3/users/10233975 \
--header 'authorization: Bearer NOPE'
The 200 Response:
Can you:
Thank you! — Jaycee