Dec 4, 2021 12:25 AM - edited Dec 4, 2021 12:29 AM
Hello @webdew
I am also facing the same issue. According to this page conversation I got that now contacts now migrated as a crm.schemas.contacts.read or crm.schemas.contacts.write.
But, what should I pass in scope instead of contacts in this URL if I selected both crm.schemas.contacts.read and crm.schemas.contacts.write as the scope in my app Auth tab
https://app.hubspot.com/oauth/authorize?client_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&scope=contacts%20automation&redirect_uri=https://www.example.com/
Because if I passed contacts as a scope it will give me an error
Thanks and Regards.
Solved! Go to Solution.
Dec 6, 2021 4:10 AM
Hi @JMistry ,
Try it with:
https://app.hubspot.com/oauth/authorize?client_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&scope=contacts%20automation&redirect_uri=https://www.example.com/
https://app.hubspot.com/oauth/authorize?client_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&scope=crm.schemas.contacts.read%20crm.schemas.contacts.write&redirect_uri=https://www.example.com/
So the new or other scopes could be added with a space or html sign %20 to your scopes string.
But if you only select crm.schemas.contacts.read, crm.schemas.contacts.write, you cannot add automation and contacts to your Authorization URL. So you have to add the Legacy Contacts and Automation scope in you developer account. Or you have to remove them from the authorization url.
Regards Ronald
Dec 6, 2021 4:10 AM
Hi @JMistry ,
Try it with:
https://app.hubspot.com/oauth/authorize?client_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&scope=contacts%20automation&redirect_uri=https://www.example.com/
https://app.hubspot.com/oauth/authorize?client_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&scope=crm.schemas.contacts.read%20crm.schemas.contacts.write&redirect_uri=https://www.example.com/
So the new or other scopes could be added with a space or html sign %20 to your scopes string.
But if you only select crm.schemas.contacts.read, crm.schemas.contacts.write, you cannot add automation and contacts to your Authorization URL. So you have to add the Legacy Contacts and Automation scope in you developer account. Or you have to remove them from the authorization url.
Regards Ronald