Skip to main content
Participating Frequently
July 16, 2023
Answered

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

  • July 16, 2023
  • 4 replies
  • 1093 views

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.
    Correct answer Raymond Camden

    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
    July 17, 2023

    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.

    Participating Frequently
    July 17, 2023

    Thank you Raymond, it worked!!!

    Raymond Camden
    Community Manager
    Community Manager
    July 18, 2023

    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.)