Invalid Method

Returns a 404 error when an invalid method is called.

Error Path

http://api.mtvnservices.com/1/error/invalid_method/

Examples

http://api.mtvnservices.com/1/not_a_method/
http://api.mtvnservices.com/1/artist/weezer/not_a_method/
http://api.mtvnservices.com/1/artist/browse/not_a_letter_or_-/

ATOM Return

<?xml version="1.0" encoding="iso-8859-1"?>
<entry xmlns:media="http://search.yahoo.com/mrss/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://www.w3.org/2005/Atom">
<id>http://api.mtvnservices.com/1/not_a_method/</id>
<updated>2008-11-06T15:09:13.547-05:00</updated>

<title>Invalid Method</title>
<author>
<name>MTVN Content API</name>
<uri>http://api.mtvnservices.com/1/</uri>
</author>
<link rel="self" type="application/atom+xml" href="http://api.mtvnservices.com/1/not_a_method/"/>

<content>Sorry, there is no method by that name.</content>
</entry>

Comments

New comments are not being accepted at this time.