You need to sign in to do that
Don't have an account?
Shashank Sharma 4
Create task in SF from Marketo webhook using REST API
Hi,
I'm trying to create a task in SF from Marketo using the REST API. I'm getting the 401 error. Error Message - "HTTP Error 401: Unauthorized access to URL". Basically, I'm sending a request in JSON format and using this endpoint: https://cvent.my.salesforce.com/services/data/v30.0/sobjects/Task
Has anyone faced the same challenge and how did you fix it?
Thanks,
Shashank Sharma
I'm trying to create a task in SF from Marketo using the REST API. I'm getting the 401 error. Error Message - "HTTP Error 401: Unauthorized access to URL". Basically, I'm sending a request in JSON format and using this endpoint: https://cvent.my.salesforce.com/services/data/v30.0/sobjects/Task
Has anyone faced the same challenge and how did you fix it?
Thanks,
Shashank Sharma
Yeah, I was able to fix it, actually I was missing the custom header in the webhook. Adding the authorization and content type in the custom header of the webhook request fixed the issue.