android-mvvm-architecture icon indicating copy to clipboard operation
android-mvvm-architecture copied to clipboard

Service calling issue

Open arpitjoshi08 opened this issue 6 years ago • 1 comments

Getting this error when i call server using this structure:

HTTP Status 415 – Unsupported Media Type

HTTP Status 415 – Unsupported Media Type


Type Status Report

Message Unsupported Media Type

Description The origin server is refusing to service the request because the payload is in a format not supported by this method on the target resource.


Apache Tomcat/7.0.90

415 Unsupported Media Type okhttp error

arpitjoshi08 avatar Dec 11 '18 12:12 arpitjoshi08

Sorry for the delayed response. Its because of the type of data coming from the service which you are calling is not the same type which you are receiving, please check and update.

anandwana001 avatar Jan 30 '19 11:01 anandwana001