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

Mock-Testserver gives a 500 error when POSTing an Offer without id #3

Closed
gitterrost4 opened this issue Apr 16, 2020 · 2 comments · Fixed by #2
Closed

Mock-Testserver gives a 500 error when POSTing an Offer without id #3

gitterrost4 opened this issue Apr 16, 2020 · 2 comments · Fixed by #2
Assignees
Labels
bug Something isn't working

Comments

@gitterrost4
Copy link

When issuing a POST /offers to https://share2hub-r2g-api-dev.apps.prod.rd2g.de, the server returns a 500 HTTP-Code with the message

{"timestamp":"2020-04-16T12:23:15.287+0000","status":500,"error":"Internal Server Error","message":"No message available","path":"/offers"}
@yncyrydybyl
Copy link
Member

The examples in the swagger UI should be functional.

@gitterrost4
Copy link
Author

They might be, but we identified that the id must not be given when creating an offer because they need to be generated by the storing system.

@kat-ka kat-ka transferred this issue from fahrgemeinschaft/share-square-commons Apr 23, 2020
@kat-ka kat-ka linked a pull request Apr 23, 2020 that will close this issue
@kat-ka kat-ka added the bug Something isn't working label Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants