-
Notifications
You must be signed in to change notification settings - Fork 148
Description
In which step did you encounter the bug?
Workflow execution
Are you using a local or a remote (AKS) FarmVibes.AI cluster?
Remote (AKS) cluster
Bug description
Description::
While testing the data_ingestion/airbus/airbus_download workflow within FarmVibes.AI, we encountered a 403 Forbidden error during the execution. The error occurs when the workflow attempts to call the following
Airbus API endpoint: api_endpoint
The API key used is confirmed to be valid and functional when tested independently outside the workflow. However, when invoked through the FarmVibes.AI workflow, it consistently fails with a 403 error.
Steps to reproduce the problem
Steps to Reproduce:
- Configure the data_ingestion/airbus/airbus_download workflow with the official Airbus API key.
- Run the workflow in a Remote FarmVibes.AI setup.
- Observe the failure at the response as json attached.
Expected Behavior:
The workflow should authenticate successfully using the provided API key and fetch the necessary Airbus imagery metadata.
Actual Behavior:
The workflow fails with the following error:
403 Client Error: Forbidden for url: "https://search.foundation.api.oneatlas.airbus.com/api/v2/opensearch"
Notes:
- The API key was tested outside of the workflow (e.g., with curl or Postman) and returns valid results.
- It appears the request made from within the FarmVibes.AI workflow might be missing required headers or scopes expected by Airbus.
- A screenshot of the error is available upon request.
Impact:
This issue prevents successful execution of the Airbus data ingestion workflow and may hinder use of Airbus satellite imagery in production scenarios.
Suggested Action:
Please investigate whether the workflow implementation aligns with the Airbus OneAtlas API's authentication and usage policies. There may be a bug in how the request is being constructed or authenticated in the airbus_download component.
Attachments:
- ✅ Working Example: The API call to the Airbus OneAtlas OpenSearch endpoint has been tested independently outside the FarmVibes.AI cluster using the same API key and configuration. It returns the expected response without any errors.
- ❌ Non-Working Example: The same API call fails when executed within the FarmVibes.AI cluster, as part of the data_ingestion/airbus/airbus_download workflow. A 403 Forbidden response is consistently returned, despite using identical credentials and request parameters.
Both Files/screenshots are attached for reference to support further debugging and comparison between the two environments.
airbus_reponse_56dc30c6-eec0-46a3-b301-d1ac7c38df2a.json
Working_api_key_independently.txt
Note: Some Part of Api Key and Token Generated using the Api Key has been deleted intentionally for security purpose.