Question

PDF Import API Error

  • 27 June 2024
  • 8 replies
  • 65 views

Badge +1

Receiving this error when attempting to import a board via api:
 

Internal Server Error - Write

The server encountered an internal error or misconfiguration and was unable to complete your request.

Reference #4.660f3417.1719449813.13f352ca

https://errors.edgesuite.net/4.660f3417.1719449813.13f352ca



request made:

curl 'https://api.lucid.co/documents' \
     --request 'POST' \
     --header 'Authorization: Bearer REDACTED' \
     --header 'Lucid-Api-Version: 1' \
     --form 'file=@REDACTED;type=x-application/vnd.lucid.board'\
     --form 'title=Test_pdf_import_2'\
     --form 'parent=REDACTED'

 


Comments

Badge +1

Receiving this error when attempting to import a board via api:
 

Internal Server Error - Write

The server encountered an internal error or misconfiguration and was unable to complete your request.

Reference #4.660f3417.1719449813.13f352ca

https://errors.edgesuite.net/4.660f3417.1719449813.13f352ca



request made:

curl 'https://api.lucid.co/documents' \
     --request 'POST' \
     --header 'Authorization: Bearer REDACTED' \
     --header 'Lucid-Api-Version: 1' \
     --form 'file=@REDACTED;type=x-application/vnd.lucid.board'\
     --form 'title=Test_pdf_import_2'\
     --form 'parent=REDACTED'

 

Userlevel 2
Badge +3

Hi @andrewpena , thanks for posting in the Developer’s community. The internal server error you’ve received is often associated with a network or browser issue. As a first step, could you please check to make sure your network is prepared to allow the necessary traffic for using Lucid.app and our APIs, following this Help Center article for requirements: Prepare your network for Lucid users.

If the issue persists, please share a screenshot of the associated Javascript Console output after reproducing this error. You can open your Javascript Console by pressing Ctrl + Shift + J (if your computer is a Windows / Linux) OR Cmd + Opt + J (if your computer is a Mac). Thanks!

Badge +1

@Sylvia X  I confirmed this worked without error for some PDFs but not others

Userlevel 2
Badge +3

@andrewpena, thanks for trying that! Our developers have identified a bug with this issue and are investigating this internally. I will update here as soon as the bug has been fixed. Thanks again for bringing this to our attention!

Badge +1

Thanks @Sylvia X !

Badge +1

@Sylvia X is there any update?

Userlevel 2
Badge +3

Hi @andrewpena, thanks for following up here. Unfortunately, I haven’t received any updates on the fix yet but will check this internally and get back to you as soon as possible. If there’s anything else we can help with in the meantime, please let me know. 

Userlevel 2
Badge +3

Hi @andrewpena, thanks for your patience! I have confirmation that the bug has been fixed and released so you should no longer be seeing errors when importing a board.

I apologize for any inconvenience that this may have caused. Please feel free to follow up here if you continue to experience issues! 

Reply