Hi Matt,
Here is the detailed error message:
CFML Runtime Error
YouTubeCFC Upload Error: Status: 415 / Explanation: Unsupported Media
Type
Request /App/youtubecfc/test2.cfm
File Trace D:/Explorers_Log/webapps/log/App/youtubecfc/test2.cfm
|
+-- D:/Explorers_Log/webapps/log/App/youtubecfc/youtube.cfc
Type Application
Function(s) upload (D:/Explorers_Log/webapps/log/App/youtubecfc/
youtube.cfc, Line=890, Column=1)
Tag Context CFSET (D:/Explorers_Log/webapps/log/App/youtubecfc/
test2.cfm, Line=30, Column=1)
|
+-- CFFUNCTION (D:/Explorers_Log/webapps/log/App/youtubecfc/
youtube.cfc, Line=890, Column=1)
|
+-- CFIF (D:/Explorers_Log/webapps/log/App/youtubecfc/youtube.cfc,
Line=936, Column=2)
|
+-- CFELSE (D:/Explorers_Log/webapps/log/App/youtubecfc/
youtube.cfc, Line=939, Column=2)
|
+-- CFIF (D:/Explorers_Log/webapps/log/App/youtubecfc/
youtube.cfc, Line=940, Column=3)
|
+-- CFELSE (D:/Explorers_Log/webapps/log/App/
youtubecfc/youtube.cfc, Line=943, Column=3)
|
+-- CFTHROW (D:/Explorers_Log/webapps/log/App/
youtubecfc/youtube.cfc, Line=944, Column=4)
Source
941: <cfset resxml = xmlParse(result.fileContent)>
942: <cfthrow message="YouTubeCFC Upload Error:
Domain=#resxml.errors.error.domain.xmlText#,
Code=#resxml.errors.error.code.xmlText#">
943: <cfelse>
944: <cfthrow message="YouTubeCFC Upload Error: Status:
#result.responseheader.status_code# / Explanation:
#result.responseheader.explanation#">
945: </cfif>
^ Snippet from underlying CFML source
locals
struct
arguments
struct
categories Tech
description Test description
keywords Shark,Reef,Whitton
title Angelfish
video D:\Explorers_Log\webapps\log\Temp\GeneratedMP4_34331265.mp4
categories Tech
description Test description
keywords Shark,Reef,Whitton
meta <?xml version="1.0"?> <entry xmlns="http://www.w3.org/2005/Atom"
xmlns:media="http://search.yahoo.com/mrss/" xmlns:yt="http://
gdata.youtube.com/schemas/2007"> <media:group> <media:title
type="plain">Angelfish</media:title> <media:description
type="plain">Test description</media:description> <media:category
scheme="http://gdata.youtube.com/schemas/2007/categories.cat">Tech</
media:category> <media:keywords>Shark,Reef,Whitton</media:keywords> </
media:group> </entry>
result
struct
charset UTF-8
errordetail [empty string]
filecontent Content-Type multipart/form-
data;boundary=----------------314159265358979323846 is not a valid
input type.
header HTTP/1.1 415 Unsupported Media Type Server: Upload Server Built
on Apr 6 2010 11:54:18 (1270580058) X-GData-User-Country: US Content-
Type: text/html; charset=UTF-8 Date: Fri, 09 Apr 2010 00:17:22 GMT
Pragma: no-cache Expires: Fri, 01 Jan 1990 00:00:00 GMT Cache-Control:
no-cache, no-store, must-revalidate Content-Length: 106 Connection:
close
mimetype text/html; charset=UTF-8
responseheader
struct
Cache-Control no-cache, no-store, must-revalidate
Connection close
Content-Length 106
Content-Type text/html; charset=UTF-8
Date Fri, 09 Apr 2010 00:17:22 GMT
EXPLANATION Unsupported Media Type
Expires Fri, 01 Jan 1990 00:00:00 GMT
HTTP_VERSION HTTP/1.1
Pragma no-cache
STATUS_CODE 415
Server Upload Server Built on Apr 6 2010 11:54:18 (1270580058)
X-GData-User-Country US
statuscode 415 Unsupported Media Type
text YES
resxml [empty string]
theurl http://uploads.gdata.youtube.com/feeds/api/users/whittonr/uploads/
title Angelfish
tmpFile D:\Explorers_Log\webapps\log\App\youtubecfc
\0B87D888_D928_45ED_8F1880D0B12DF1FF
video D:\Explorers_Log\webapps\log\Temp\GeneratedMP4_34331265.mp4
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
mailing list - http://groups.google.com/group/openbd?hl=en
!! save a network - please trim replies before posting !!
To unsubscribe, reply using "remove me" as the subject.