Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API error 400 invalid endpoint #16

Open
Gokulpradeep opened this issue Aug 6, 2019 · 2 comments
Open

API error 400 invalid endpoint #16

Gokulpradeep opened this issue Aug 6, 2019 · 2 comments

Comments

@Gokulpradeep
Copy link

No description provided.

@justinrummel
Copy link

Hello @Gokulpradeep

The error says invalid endpoint. Are you able to provide more detail why you think this error is incorrect?

@dshafik
Copy link
Contributor

dshafik commented Aug 6, 2019

You are most likely using invalid/incorrect credentials causing it make requests to the wrong host (which doesn't support purge).

Please ensure that:

  • You are passing in the --section flag (and if necessary --edgerc also), or that your credentials live in $HOME/.edgerc under the [default] section
  • That the host for the credentials in question ends in purge.akamaiapis.net, if not, the credentials are not for purge

Let me know if this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants