Hello everyone,
I am trying to make this simple request to the Hubspot API but it fails due to an “invalid URL” error.
The URL seems fine to me so I think there might be a problem with the request I’m making.
The endpoint I’m trying to call is /contacts/v1/contact/email/:email/profile and the documentation for it is here. Until now, I have tried the following:
- Set Content-type to application/json
- Set user agent
- Add the authorization token in the additional request headers section (although i think this is wrong )
- Minify the json
- Checked if the email is associated to a contact in HubSpot
- Tested the endpoint in Postman with all the data needed (and it works just fine)
I am out of ideas so any help would be appreciated.