:wave: Hello! I'm a bit miffed. I'm trying to use ...
# airbyte-api
b
👋 Hello! I'm a bit miffed. I'm trying to use the airbyte-api for our OSS implementation and some endpoint work as expected while others return unexpected results. For instance, when I query for running jobs, I get those I would expect. When I run a GET on a specific job, I get a 404 saying it cannot be found 🤷
v0.50.14
For example,
requests.get('<http://localhost:8006/v1/jobs?status=running>', headers=header)
returns
Copy code
{'data': [{'connectionId': 'aaeb5f07-76dc-4b0a-9498-40f26c4cdfe4',
           'duration': 'PT0S',
           'jobId': 4442,
           'jobType': 'sync',
           'startTime': '2023-09-05T22:15:43Z',
           'status': 'running'},
          {'connectionId': '52342a79-b9f7-4258-ad53-d067d0340c6e',
           'duration': 'PT0S',
           'jobId': 4439,
           'jobType': 'sync',
           'startTime': '2023-09-05T16:08:52Z',
           'status': 'running'}]}
Yet when I attempt
requests.get('<http://localhost:8006/v1/jobs/4439>', headers=header)
or
requests.get('<http://localhost:8006/v1/jobs/4442>', headers=header)
I get a
404 - Not Found
response
y
Isn't the port 8086?
b
8006 works for other endpoints and that's what the documentation prescribes
Shout out to @Jonathan Neo for showing that the old API and endpoint still works
j
It appears that our server is dropping the route for GET /jobs/:id endpoint which we’ll troubleshoot and fix in a new version. Will post here once that’s been released.
b
Thanks @Jon Tan (Airbyte)!
j
@Brandon Freeman - can you please try again using version v0.50.28?