cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5601
Views
0
Helpful
5
Replies

415 "Unsupported Media Type" When attempting to login via Poster

Mark Cockrell
Level 1
Level 1

I am poking around the Finesse API using Poster and can successfully execute various Get's (Get List of Users, Get SystemInfo, etc) but when I attempt to sign in (http://finesse1.xyz.com/finesse/api/User/1234) I am getting an error:  "HTTP Status 415 - Unsupported Media Type".

"The server refused this request because the request entity is in a format not supported by the requested resource for the requested method (Unsupported Media Type)."

I have the content type specified as 'application/xml' and I am sending valid parameters ('id', 'state' and 'extension') and using valid credentials. 

Any ideas why I would be unable to login?

1 Accepted Solution

Accepted Solutions

You should be attaching XML not doing body from parameters.

Here is sample xml

View solution in original post

5 Replies 5

dlender
Level 6
Level 6

Be sure to specify content type: application/xml

Content type was entered correctly, does anything else look out of place?

Finesse Error.jpg

You should be attaching XML not doing body from parameters.

Here is sample xml

Attaching the parameters as XML did the trick.  Thanks!

Also you should be using the agent’s credentials not admin credentials (which still may work but is not recommended)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: