YouTube fileupload api error.

Hello;
I'm building a small site using YouTubes API system. I downloaded a YouTube.cfc from Ray Camden, and it works excellent. I am having an issue with a fileupload and the content I'm sending. It's outside the cfc function, it's the information I'm sending off to youtube. I've changed it around and I know it's my key words that is making it error. I am attaching the piece of code and the error
Error:
YouTubeCFC Upload Error: Domain=yt:validation, Code=invalid_value
my code:
<cfset yt = createObject("component", "youtube")>
<cfset yt.setDeveloperKey("<my key>")>
<cfset yt.login("<username>", "<password>")>
<cfset r = yt.upload(expandPath('#uploadedfile#'),'#title#','#description#','Category','key,word')>
The way this works is as follows:
this form uploads the video to the server, then youtube takes it to their server so the uploaded file is the actual file that is being sent

Hi,
there is not a lot which can be done and independently from you I am using for my
site [url=http://privatekrankenversicherungtestpkv.com/]PKV[/url]
cfset yt = createObject("component", "youtube")> 
<cfset yt.setDeveloperKey("<my key>")>
<cfset yt.login("<username>", "<password>")>
<cfset r = yt.upload(expandPath('#uploadedfile#'),'#title#','#description#','Category','keyword')>
which is idenciral (like minds) ... and - no wonder
I am receiving: domain=yt:validation, Code=invalid_value
and I´d be grateful for someone who sees the beasty, tiny little thing which is wrong
Have a nice day
.... Wolfgang

Similar Messages

  • WD FileUpload api ...

    Is there some WD FileUpload api example code to try?
    Im trying to use the File upload in a WD project but i get "com.sap.tc.webdynpro.services.sal.util.cache.WDResourceNotFoundException: Object could not be found in cache, key is null"
    I apply all the advises written here in the forum, but I still have the same error.
    my problem is, I have to receive two binary files.
    so I have two fileUpload components (named fileCert an fileKey)
    I have in the custom controller context two nodes (one for each file) with two value atributes (certFile.fileData binary and certFile.fileName String,
    keyFile.fileData and keyFile.FileName)
    both nodes have 1..n cardinality and 1..n Selection in the node properties
    I mapped this nodes to the context of the view and bind them to the data property of the FileUpload UI element
    in the action of the button submit i have this code:
    wdThis.wdGetNDISAdminCustController().EncodeFileData();
    in the wdInit of the custom controller i have:
        ICertFileElement certElement = wdContext.createCertFileElement();
        wdContext.nodeCertFile().bind(certElement);
         IWDAttributeInfo CattInfo = certElement.node().getNodeInfo().getAttribute("fileData");
         IWDModifiableBinaryType CbinaryType = (IWDModifiableBinaryType) CattInfo.getModifiableSimpleType();
         CbinaryType.setFileName("d:
    temp
    TestCert.cer");
    and the same thing for the keyData attribute:
    in the encodeFileData method i have
         BASE64Encoder enc64 = new BASE64Encoder();
         byte[] bCert = wdThis.wdGetContext().currentCertFileElement().getFileData();
         byte[] bKey =  wdThis.wdGetContext().currentCertFileElement().getFileData();
         String sCert =      enc64.encode(bCert);
         String sKey =      enc64.encode(bKey);
    BUT THAT CODE IS NOT EXECUTED cause i get the error  just after the submit click and before the execution of the SubmitConfig action linked to the on action property of the button.

    Yes, I solve that problem, the problem was the context variable had to be created and binded before it were used, the code was:
    IInvoiceImgFileElement invImgFile = wdContext.createInvoiceImgFileElement();
    wdContext.nodeInvoiceImgFile().bind(invImgFile);
    thnks

  • DI API error while adding AP Invoice (Using serial Nos.)

    Hi,
    Im getting the following DI API error when adding an AP Invoice which has serial numbers and i cant seem to find any logical fault in the code.
    " [PCH1.WhsCode][line: 4] , 'This entry already exists in the following tables (ODBC -2035) "
    If anybody has encountered this error and found a solution kindly let me know.

    Hi Vivek,
    Are you trying to add same document number, serial number or so on?
    "entry exist " means like "duplicate key problem", I guess.
    Basically, whscode column in PCH1 table allows duplicating.
    So, I think serial number is duplicated among same item code.
    Hope this useful for you.
    Regards,
    Hyunil Choi.

  • I am receiving this error message when trying to export pictures: 'Unable to Export": An internal error has occured: Win32 API error 2 ( "The system cannot find the file specified.") when calling ShellExecuteExW from AgWorkspace.shellExecute.// I have a H

    I am receiving this error message when trying to export pictures: 'Unable to Export": An internal error has occured: Win32 API error 2 ( "The system cannot find the file specified.") when calling ShellExecuteExW from AgWorkspace.shellExecute.// I have a HP ENVY Phoenix, fully loaded, 1 1/2 years old.

    Nevermind I fixed it. Thank you.

  • How to get file input stream from the client machine by JSF Fileupload API?

    Dear Friends,
    How to get the file input stream from the client machine by JSF HtmlFileupload or fileupload API. At present, if i execute the file upload code in the client machine, it is able to get the local path of the file and looking for the file in server machine. So i am getting FileNotFoundException.
    E.g., If a file is located at client machine at following location means "C:\Test\Test.txt",
    uploadClass.getFileuploadComponent().getFilename().toString() returns "C:\Test\Test.txt". But it is looking for that file in server and throwing FileNotFoundException.
    Please post your replies soon.
    Thanks,
    JP

    Depends on which version of JSF you're using. If JSF 1.2, I wouldn't even bother trying to hack this into JSF itself unless you can use something like Seam 2 or richfaces.
    http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_fileUpload.html
    http://docs.jboss.org/seam/2.2.1.CR3/reference/en-US/html/controls.html#d0e29259 (look for s:fileUpload)
    But if I were you, a simple non-jsf form with a servlet works best for taking file uploads.
    As for JSF 2.0, there are other ways of getting it done.
    http://balusc.blogspot.com/2009/12/uploading-files-with-jsf-20-and-servlet.html

  • "Youtube not available" error on my video

    I uploaded a video last night to YouTube. I can access it from the YouTube app on my phone only if I am signed in and go to "My Videos". But if I try to open it using a link to the video, I get a "Youtube not available" error. I've gotten 3 other people with iPhones to try it, with the same result. I made sure the option to play on mobile devices was checked within the video settings. What else can I do? I have no idea why this isn't working.

    What else can I do?
    Don't use Youtube.
    It is Youtube not iPhone.
    Youtube is very buggy (The most famous bug is the inability to post a text comment).
    These work better.
    http://www.the-top-tens.com/lists/best-alternatives-youtube.asp
    http://www.youtubealternative.com/

  • Win32 API error 126

    What to do if message: [Win32 API error 126 ("Dasangegebene Modul wurde nicht gefunden") when calling ::LoadLibrary from getFunction] apears

    What to do if message: [Win32 API error 126 ("Dasangegebene Modul wurde nicht gefunden") when calling ::LoadLibrary from getFunction] apears

  • WEBI working in Rich Client but giving error opendocument' api. (error err_wis_30270) in launch pad

    Hi,
    I transported webi documents + universe from a development server (BI 4.1. SP2) to a test server (same release). I can open the documents with the WEBI rich client, but I am unable to open them with the launch pad (error ...opendocument' api. (error err_wis_30270)).
    Does anyone have a clue where there could be a difference in the settings that cause this behaviour?
    Thanks,
    Sandra.

    Can you check this KB?
    1684675
      - An internal error occurred while calling 'openDocument' API. (Error:
    ERR_WIS_302070) while opening WebIntelligence reports in SAP BO BI 4.0.

  • Essbase Hyperion 9 + BO XI 3.1 SP3. Essbase API Error (1030723) (WIS 1

    Hello, Need your help please !!!
    I have installed BO Enterprise XI 3.1 SP3 on window 2003 which IBM DataStage have been installed on it.
    There are no problem when :
    - Creating connection using essbase hypersion 9 and creating universe in Universe Designer (Ok)
    - Checking validity of the universe (Ok)
    - Create and run report in webbi rich clien (Ok)
    The problem is when I tried to create report and run query in Web Intelligence Java Panel Report, I got this Error "A database error occured. The database error text is: Essbase API Error (1030723): . (WIS 10901)".
    Can someone help me to solve this problem, please?
    Regards
    Sofian

    Hi Stratos,
    I have installed Essbase Client Version 11. I have installed the same in my laptop and I didn't got this problem, the different only i haven't installed DataStage in my laptop.
    Regards
    Sofian

  • Essbase Hyperion 9 + BO XI 3.1 SP3. Essbase API Error (1030723) (WIS 10901)

    Hello, Need your help please !!!
    I have installed BO Enterprise XI 3.1 SP3 on window 2003 which IBM DataStage have been installed on it.
    There are no problem when :
    - Creating connection using essbase hypersion 9 and creating universe in Universe Designer (Ok)
    - Checking validity of the universe (Ok)
    - Create and run report in webbi rich clien (Ok)
    The problem is when I tried to create report and run query in Web Intelligence Java Panel Report, I got this Error "A database error occured. The database error text is: Essbase API Error (1030723): . (WIS 10901)".
    Can someone help me to solve this problem, please?
    Regards
    Sofian

    Hi Stratos,
    I have installed Essbase Client Version 11. I have installed the same in my laptop and I didn't got this problem, the different only i haven't installed DataStage in my laptop.
    Regards
    Sofian

  • API Error: table does not exists

    Hello every one,
    I have a procedure to load the learning management data history through API. I get error that the table or view does not exists which I don't know why.
    Here is my procedure:
    CREATE OR REPLACE PROCEDURE OLM_CLASS_HISTORY
    AUTHID CURRENT_USER AS
    lv_BOOKING_ID NUMBER;
    lv_BOOKING_STATUS_TYPE_ID NUMBER;
    lv_EVENT_ID NUMBER;
    lv_PERSON_ID NUMBER;
    lv_DATE_BOOKING_PLACED DATE;
    lv_OBJECT_VERSION_NUMBER NUMBER;
    lv_FINANCE_LINE_ID NUMBER;
    CURSOR C1 IS
    SELECT OLM_NUMBER,
    OLM_DATE_OF_CLASS,
    OLM_CLASS
    FROM OLM_HISTORY_CLASS;
    BEGIN
    FOR C1_REC IN C1
    LOOP
    begin
    select PAF.PERSON_ID INTO lv_PERSON_ID
    from PER.PER_ALL_PEOPLE_F PAF
    where PAF.EMPLOYEE_NUMBER= C1_REC.OLM_NUMBER
    and to_date (C1_REC.OLM_DATE_OF_CLASS, 'DD-Mon-YY HH24:MI:SS ')
    between to_date(paf.effective_start_date, 'DD-Mon-YY HH24:MI:SS')
    and to_date (paf.effective_end_date, 'DD-Mon-YY HH24:MI:SS');
    exception
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER :=SQLCODE;
    error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('.');
    DBMS_OUTPUT.PUT_LINE('PID Error: ' || error_code || ' - ' || error_msg);
    DBMS_OUTPUT.PUT_LINE('.');
    END;
    END;
    lv_DATE_BOOKING_PLACED:= C1_REC.OLM_DATE_OF_CLASS;
    BEGIN
    SELECT DISTINCT AOET.EVENT_ID INTO lv_EVENT_ID
    FROM APPS_APPLMGR.ota_events_tl AOET
    WHERE
    AOET.TITLE = C1_REC.OLM_CLASS;
    exception
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER :=SQLCODE;
    error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('.');
    DBMS_OUTPUT.PUT_LINE('EID Error: ' || error_code || ' - ' || error_msg);
    DBMS_OUTPUT.PUT_LINE('.');
    END;
    END;
    dbms_output.put_line('Event id:'||lv_event_id);
    dbms_output.put_line('Person id:'||lv_person_id);
    dbms_output.put_line('Booking date:'||lv_date_booking_placed);
    dbms_output.put_line('Ovn:'||lv_object_version_number);
    dbms_output.put_line('Finance line id:'||lv_finance_line_id);
    BEGIN
    APPS_APPLMGR.OTA_DELEGATE_BOOKING_API.CREATE_DELEGATE_BOOKING (P_VALIDATE => FALSE,
    P_EFFECTIVE_DATE => trunc(sysdate),
    P_BOOKING_ID => lv_BOOKING_ID,
    P_BOOKING_STATUS_TYPE_ID => '1016',
    p_delegate_person_id => lv_PERSON_ID,
    p_contact_id => NULL,
    P_BUSINESS_GROUP_ID => '0',
    P_EVENT_ID => lv_EVENT_ID,
    P_DATE_BOOKING_PLACED => lv_DATE_BOOKING_PLACED,
    P_INTERNAL_BOOKING_FLAG => 'Y',
    p_number_of_places => '1',
    P_OBJECT_VERSION_NUMBER => lv_OBJECT_VERSION_NUMBER,
    P_SUCCESSFUL_ATTENDANCE_FLAG => 'Y',
    P_FINANCE_LINE_ID => lv_FINANCE_LINE_ID);
    exception
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER :=SQLCODE;
    error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('.');
    DBMS_OUTPUT.PUT_LINE('API Error: ' || error_code || ' - ' || error_msg);
    DBMS_OUTPUT.PUT_LINE('.');
    END;
    END;
    END LOOP;
    COMMIT;
    --rollback;
    END;
    and now when I run this procedure,I am getting this error:
    PID Error: 100 - ORA-01403: no data found
    Event id:5684
    Person id:12530
    Booking date:14-DEC-11 00:00:00
    Ovn:
    Finance line id:
    API Error: -942 - ORA-00942: table or view does not exist
    I don't know if it is API which is making problem or my code. Please advice.
    Thanks,

    You are creating the procedure in which schema.
    does this user has permission to access the objects specified in the code.
    the issue must be with your code not the ebs api

  • I am unable to open my Red Box account. I get the message "unknown API error."

    I switched to Fire Fox because of slowness and other issues with Internet Explorer. Fire Fox is much better, with one exception. I can't open my Red Box account. I get a message that states "unknown API error." Red Box says the problem is related to the fact that they have new software. However, I can still pull up Red Box in Explorer.

    What extensions do you have installed? To get a full list, do the following:
    In order to be able to find the correct solution to your problem, we require some more non-personal information from you. Please do the following:
    *Click the Firefox button at the top left, then click the ''Help'' menu and select ''Troubleshooting information'' from the submenu. If you don't have a Firefox button, click the Help menu at the top and select ''Troubleshooting information'' from the menu.
    Now, a new tab containing your troubleshooting information should open.
    *At the top of the page, you should see a button that says "Copy all to clipboard''. Click it.
    *Now, go back to your forum post and click inside the reply box. Press Ctrl+V to paste all the information you copied into the forum post.
    If you need further information about the Troubleshooting information page, please read the article [[Using the Troubleshooting Information page]].
    Thanks in advance for your help!

  • Where can I get a list of Adobe Connect API error messages?

    We have a test that will try to connect to an invalid Adobe Connect site and confirms that we get an appropriate error message back.  Last week, the error was "The remote name could not be resolved: test.com".   Now the error is "Unable to connect to the remote server".  Is there a list of Adobe Connect API errors and where would I check to see if they are changed/updated?
    Thanks,
    Kevin

    Assuming that you did a default installation, you can click Start-->Programs-->National Instruments-->FieldPoint 3.0-->FieldPoint Help. There is a category called Errors and Warning Codes. Under that category is two subcategories; FieldPoint Specific Error Codes and General Error codes. These two sub-categories should list most error codes that you will see.
    Regards,
    Aaron

  • An internal error occured while calling 'getBlob' API. (error: ERR_WIS_3027

    Hi Team,
    Please help me in resolving the below error message.
    One of my user is experiencing this when trying to run a report.
    "An internal error occured while calling u2018getBlobu2019 API. (error: ERR_WIS_30270)". I have checked the previous discussion on the same, But I could not get it. Could some one help me as what I can do to resolve this.
    Thanks in Advance
    Mmvihar

    Hi George Pertea,
    Appreciate your prompt response.
    I found a simple solution for this.
    This error message occurs when the TOMCAT server memory exceeds more than 1.3 gb. Hence, restart the TOMCAT server would resolve this issue.
    Here are the steps in detail.
    1. Log into each server through either citrix, remote desktop or mstsc from run command.
    2. Click on task Manager.
    3. Click on process, if you find TOMCAT memory is more than 1.3 gb, come back to CCM and stop tomcat server.
    4. Wait for 20 seconds and then start tomcat server. Check all the remaining servers and do the same
    This resolved the issue.
    Thanks & Regards
    Mmvihar

  • OIM GTC connector_OIM API Error

    I have created a GTC in OIM. I am able to provision and revoke the resource in my base machine.
    I have one task e.g. Change First Name and corresponding First Name Updated runs on completion of Change First Name.
    If I am a Officer 1, I can run the task successfully.
    If I am Officer 2, I am getting error as"OIM API error encontered".
    In WAS logs I am getting IT Resource with key 0 not found.
    If you guys have encountered the same situation then please respond.

    I think one problem I am having is that I was using the java that shipped with RedHat. I am now using the java that is shipped with the SOA Suite. I am still getting an error, but it's a little different.
    [oracle@oimserver scripts]$ which java
    /app/oracle/soa/jdk/bin/java
    [oracle@oimserver scripts]$ java -version
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
    [oracle@oimserver scripts]$ ./SSH.sh
    java.lang.NullPointerException
    at java.io.File.<init>(File.java:194)
    at com.thortech.xl.integration.telnetssh.tests.SSHProvisioningTest.setSshProperties(Unknown Source)
    at com.thortech.xl.integration.telnetssh.tests.SSHProvisioningTest.main(Unknown Source)

Maybe you are looking for