Alban Dumouilla
05/17/2023, 12:24 PMcurl --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 :
{
"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 !kapa.ai
05/17/2023, 12:24 PMkapa.ai
05/17/2023, 12:24 PMAlban Dumouilla
05/17/2023, 12:28 PMkapa.ai
05/17/2023, 12:28 PMkapa.ai
05/17/2023, 12:29 PM