Hi Airbyte team, I'm trying to connect to a Hubspo...
# ask-community-for-troubleshooting
a
Hi Airbyte team, I'm trying to connect to a Hubspot source using my customers' oauth data. I created the source through the API using my hubspot client_id, client_secret and client's refresh_token, and from what I understand I need to create an Oauth Override in my workspace. Here's my request to create it :
Copy code
curl --request PUT \
--url <https://api.airbyte.com/v1/workspaces/[WP-id]/oauthCredentials> \
--header 'authorization: Bearer [API_KEY]]' \
--header 'content-type: application/json' \
--data '
{
"configuration": {
"redirect_uri": "<http://api-insights.pyko.co/auth/hubspot/callback|api-insights.pyko.co/auth/hubspot/callback>"
},
"name": "[SOURCE_NAME]",
"actorType": "source"
}
But it always gives me the same error : This gives me the error :
Copy code
{
  "type": "<https://reference.airbyte.com/reference/errors>",
  "title": "value-not-found",
  "status": 400,
  "detail": "Submitted value could not be found: [SOURCE_NAME]"
}
As a precision, for privacy reasons I changed my real source name by [SOURCE_NAME] and the name I'm using is an existing source in my workspace. I must be doing something wrong, but what ? The documentation on this part is very unclear. Thanks a lot !
k
A message from kapa.ai
New message text here
a
@kapa.ai how do I create an oauth override ?
k
A message from kapa.ai
New message text here