Skip to content
Discussion options

You must be logged in to vote

Hello,

We found an error in the logs
2023-03-13T15:19:06.984Z [E] [13-03-2023 16:19:06.984 CET] [http-nio-8080-exec-41] [05e624ca-ea2b-463c-bc99-1f1d703fc54b] [eu.europa.ted.enotices2.notice.exception.RestExceptionHandler] [Unexpected error]
2023-03-13T15:19:06.984Z java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.

Could you try to remove the semicolon
so instead of RequestBody.create(new File("path/to/file.xml;"), mediaType)
use RequestBody.create(new File("path/to/file.xml"), mediaType)

Have a nice day,
Stefan

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@rengit62
Comment options

@rouschr
Comment options

@user6330
Comment options

@user6330
Comment options

Comment options

You must be logged in to vote
1 reply
@user6330
Comment options

Comment options

You must be logged in to vote
1 reply
@user6330
Comment options

Answer selected by user6330
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
ted api Related to the TED API endpoints off-topic > contact helpdesk The subject of this discussion is out of the scope of this forum.
4 participants