Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] REST service error : Rest response already sent

Hello everyone,
I am creating a REST service that inserts data into a MySQL database and my job looks like that :
 
My problem is when i send data via REST, I've the error : *
Exception in component tRESTResponse_1
java.lang.RuntimeException: Rest response already sent
I've searched a solution on the Internet but I've found nothing. Any help would be welcome. thanks 
Labels (5)
4 Replies
Anonymous
Not applicable
Author

Hi
It is trying to send multiple responses via tRestResponse, take a look at a similar https://community.talend.com/t5/Design-and-Development/tRESTResponse-Exception-Rest-response-already... and try the solution. If you still have problem, please upload a screenshot of your job design.
Best regards
Shong
Anonymous
Not applicable
Author

Thanks for our reply. My problem was caused by a bad tMySQLInput settings. 

Now my problem is that i've the warning "No operation matching request path "/catalogues/insert" is found" whereas trestrequest end point is /catalogues/insert (same as my rest server)
Do you know how i can fix it ? 
0683p000009MDKj.jpg
Thanks
Anonymous
Not applicable
Author

Hi
I have no clue right now why the job has this warning. Can you have a test to deactivate the tRestResponse_3 and tRestResponse_4 components and see if the problem still exists.
Best regards
Shong
Anonymous
Not applicable
Author

Hi Shong and thanks for the answer
My problem is solved, I just restarted Talend and it worked.