Summary
Encountering a 404 error ‘Object Not Found’ when trying to create a new source in Airbyte via API. Issues observed in script, Postman, and browser. Environment details and successful case provided.
Question
Help Needed: Unable to Create Source via Airbyte API - “404 error, Object Not Found” in Postman
Hi everyone,
I’m currently working on a script to create a new source in Airbyte, but I’m running into some issues. My Airbyte instance is running locally, deployed using Docker Compose. I’m using the endpoint <http://localhost:8000/api/v1/sources>
to create the source.
Issues Encountered:
- Script Issue: When I run my script, I receive a 404 error with the message “Object not found”.
- Postman Issue: When I try to hit the same endpoint using Postman, I receive a 404 Not Found error with the message “Object not found”.
- Browser Issue: When I paste the URL
<http://localhost:8000/api/v1/sources>
in my web browser, I get “Object not found” even though my Airbyte instance is running locally.
Additional Context:
• The source I am trying to create is the Exchange Rates API source, which is already available on the Airbyte UI. I initially created it using the Airbyte builder, but now I want to use a script to automate the creation process.
Environment Details:
• Airbyte Deployment Method: Docker Compose
• Airbyte version 0.59.0
• I’ve double-checked the workspace ID and the endpoint URL.
• I made sure that my Bearer token is correctly included in the headers.
Successful Case:
• When I use the Airbyte API documentation page to test the same endpoint, the source is created successfully, a sourceID is given, and it returns a 200 response.
Any guidance on what might be going wrong or how to troubleshoot this further would be greatly appreciated. I’ve attached screenshot from my browser for reference.
Thanks in advance!
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.