You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to create a new source for Brevo in Airbyte (v1.3.0) via API, the following error occurs:
status: 400, type: 'https://reference.airbyte.com/reference/errors', title: 'value-not-found', detail: 'The submitted value could not be found.', documentationUrl: null, data: { value: 'brevo' }
status: 400,
type: 'https://reference.airbyte.com/reference/errors',
title: 'value-not-found',
detail: 'The submitted value could not be found.',
documentationUrl: null,
data: { value: 'brevo' }
Contribute
Yes, I want to contribute
The text was updated successfully, but these errors were encountered:
marcosmarxm
changed the title
value-not-found error when creating Brevo source via API
[source-brevo] value-not-found error when creating via API
Dec 16, 2024
I also tried with postman but got the same error. I can create a Brevo source via the GUI, but using the API triggers the error. So yeah, i can find the brevo connector in the settings.
Connector Name
brevo
Connector Version
v0.1.2
What step the error happened?
Configuring a new connector
Relevant information
When attempting to create a new source for Brevo in Airbyte (v1.3.0) via API, the following error occurs:
status: 400, type: 'https://reference.airbyte.com/reference/errors', title: 'value-not-found', detail: 'The submitted value could not be found.', documentationUrl: null, data: { value: 'brevo' }
I think the problem is that the mapping item for Brevo is missing in following file -> airbyte-server/src/main/kotlin/io/airbyte/server/apis/publicapi/mappers/NameToDefinitionMapper.kt
There is a mapping item for sendinblue, but not for brevo. Sendinblue changed its name to brevo in 2023.
I used following js code to create the soure:
const response = await fetch(
${this.apiUrl}/api/public/v1/sources, { method: 'POST', headers: { 'Content-Type': 'application/json', 'accept': 'application/json', 'Authorization':
Bearer ${accessToken}}, body: JSON.stringify({ name: this.dataSourceId, workspaceId: this.workspaceId, configuration: { sourceType: "brevo", api_key: this.brevoApiKey, start_date: "2024-10-01T00:00:00Z" } }) });
Relevant log output
Contribute
The text was updated successfully, but these errors were encountered: