Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consumer API should respond with 400, not 500 when URL lacks of required parameters #1341

Closed
wajda opened this issue Jun 25, 2024 · 0 comments · Fixed by #1342
Closed

Consumer API should respond with 400, not 500 when URL lacks of required parameters #1341

wajda opened this issue Jun 25, 2024 · 0 comments · Fixed by #1342
Assignees
Milestone

Comments

@wajda
Copy link
Contributor

wajda commented Jun 25, 2024

Hi team,

Thank you for your support, I am new to Spline Agent and I request your help with the following issue:

I have integrated spline agent in a spark job and I can see lineage as well on Spline UI, I am trying to get Lineage json responses using Consumer API. I can successfully get API response for /data-sources, /execution-events endpoints but I am getting error when I am trying to hit curl -v 'http://localhost:8080/consumer/lineage-detailed/'
curl -v 'http://localhost:8080/consumer/lineage-overview/'
curl -v 'http://localhost:8080/consumer/attribute-lineage-and-impact/'
I am getting response as

*   Trying [::1]:8080...
* Connected to localhost (::1) port 8080
> GET /consumer/attribute-lineage-and-impact HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/8.4.0
> Accept: */*
> 
< HTTP/1.1 500 
< Vary: Origin
< Vary: Access-Control-Request-Method
< Vary: Access-Control-Request-Headers
< Content-Type: application/json
< Transfer-Encoding: chunked
< Date: Tue, 25 Jun 2024 09:51:09 GMT
< Connection: close
< 
* Closing connection
{"errorId":"7e718411-60a4-40ba-8eb4-c4016effb268","timestamp":1719309069776,"message":null}%

image
I have already checked the connectivity for Spline UI, Producer API and Consumer API. Kindly help me with the same.

Best Regards,
Mohini

Originally posted by @mohini-tripathi in #1340

@cerveada cerveada added this to Spline Jun 25, 2024
@github-project-automation github-project-automation bot moved this to New in Spline Jun 25, 2024
@wajda wajda moved this from New to Backlog in Spline Jun 25, 2024
@wajda wajda added this to the 1.0.0 milestone Jun 25, 2024
wajda added a commit that referenced this issue Jun 28, 2024
@wajda wajda moved this from Backlog to In Progress in Spline Jun 28, 2024
@wajda wajda self-assigned this Jun 28, 2024
@wajda wajda moved this from In Progress to Review / PR Created in Spline Jun 28, 2024
wajda added a commit that referenced this issue Jul 2, 2024
@github-project-automation github-project-automation bot moved this from Review / PR Created to Done in Spline Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant