<@U04SE163WC8> when i create source from airbyte u...
# replication-ask-ai
a
@kapa.ai when i create source from airbyte ui its fine but when i use api i get secret not found and in database the payload is empty
k
Based on the knowledge sources provided, it seems like you might be encountering an issue similar to the one reported in [this Github issue](https://github.com/airbytehq/airbyte/issues/36442). The user in this issue was trying to use the GCP secret manager with Airbyte and encountered a
Secret Payload cannot be empty
error. However, without more specific details about your setup and the exact error message you're encountering, it's hard to provide a definitive solution. Here are a few things you could check: 1. Make sure you're providing all the required parameters in your API request. According to the [Airbyte Public API documentation](https://reference.airbyte.com/reference/start), the
createSource
endpoint requires a
name
,
workspaceId
, and
configuration
in the request body. 2. If you're using OAuth for your source, make sure you've correctly initiated the OAuth process and obtained the necessary credentials. There's a reported issue where the
google-drive
source type was not found when trying to initiate OAuth via the API ([source](https://github.com/airbytehq/airbyte/issues/37321)). 3. If you're using a secret manager like GCP, ensure that the secret exists and that Airbyte has the necessary permissions to access it. If none of these suggestions help, I recommend creating a new issue in the [Airbyte Github repository](https://github.com/airbytehq/airbyte/issues) with detailed information about your setup and the error you're encountering. The Airbyte team or community might be able to provide more specific assistance.