Skip to main content
Participating Frequently
Dec 16, 2020 2:07 PM UTC
Question

Embed API does not run locally

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 is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    Joel Geraci
    Community Expert
    Community Expert
    Dec 16, 2020 3:55 PM UTC

    Use "localhost" instead of the IP address.

    Translate
    Participating Frequently
    Dec 16, 2020 4:18 PM UTC

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

    Translate
    Joel Geraci
    Community Expert
    Community Expert
    Dec 16, 2020 4:30 PM UTC

    Please share your code

    Translate