Skip to content

Errors on homepage when using EU instance #61

@Xander-Steinmann

Description

@Xander-Steinmann

I had all kinds of errors on the homepage stating that my api key was incorrect when I used CONTENTSTACK_API_HOST=app.contentstack.com, but when I used CONTENTSTACK_API_HOST=eu-app.contentstack.com (I'm from the EU) the urls that tried to retrieve the info didn't work at all. I think it's because the eu-app uses a prefix /api before the /v3 that the us maybe doesn't use?

Anyway, I circumvented this issue by adding url: 'https://eu-app.contentstack.com/api' to contenstack-sdk/index.js:36. This prefixes the urls and now I see some things on the page, although there are still errors.

Please try to create a eu instance and see if the code actually works. I followed the instructions of the developer training.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions