Skip to main content
Participating Frequently
December 16, 2020
Question

Embed API does not run locally

  • December 16, 2020
  • 1 reply
  • 594 views

I'm trying to play with embedding a pdf, but it does not work. In the manual it says that credentials are not required when running locally (I have local Django server at http://127.0.0.1:8000/)  but it does not seem to be the case. I tried to obtain ID for local address, but this seems to be impossible too. My project is not hosted yet, so I can't try getting credentials for a domain. 

    This topic has been closed for replies.

    1 reply

    Joel Geraci
    Community Expert
    Community Expert
    December 16, 2020

    Use "localhost" instead of the IP address.

    Participating Frequently
    December 16, 2020

    It did not help either. Still says 'File preview not available'

    Joel Geraci
    Community Expert
    Community Expert
    December 16, 2020

    Please share your code