Skip to main content
Participating Frequently
Jul 16, 2023 4:47 PM UTC
Answered

PDF Extract API (Python): QuickStarts - Step Three: Creating the application

I am running the extract.py code as set in the PDF Extract API (Python): QuickStarts - Step Three: Creating the application. I get the following error message:

 

File "c:\Users\34679\Desktop\Adobe Developer\extract.py", line 24
.with_client_id('PDF_SERVICES_CLIENT_ID')
^
SyntaxError: invalid syntax

 

Please, could you help? Thank you very much.

 

 

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Raymond Camden
    Raymond CamdenCorrect answer
    Community Manager
    Jul 17, 2023 1:50 PM UTC

    I believe it is just a copy issue from the web page. Remove the white space in front and use tab to bring it back, or get it all on one line.

    4 replies

    Raymond Camden
    Community Manager
    Raymond CamdenCommunity ManagerCorrect answer
    Community Manager
    Jul 17, 2023 1:50 PM UTC

    I believe it is just a copy issue from the web page. Remove the white space in front and use tab to bring it back, or get it all on one line.

    Translate
    Participating Frequently
    Jul 17, 2023 7:36 PM UTC

    Thank you Raymond, it worked!!!

    Translate
    Raymond Camden
    Community Manager
    Community Manager
    Jul 18, 2023 2:03 PM UTC

    I have this reported. The ideal for the Quick Starts is that it should always just work, as is. (Assuming you have creds and copied the source PDF.)

    Translate