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

DXE-4556 Error 400 (Bad Timestamp) #234

Open
taiwanJK opened this issue Jan 3, 2025 · 1 comment
Open

DXE-4556 Error 400 (Bad Timestamp) #234

taiwanJK opened this issue Jan 3, 2025 · 1 comment

Comments

@taiwanJK
Copy link

taiwanJK commented Jan 3, 2025

When I call this API, an error code 400 (Invalid timestamp) occurs:

const eg = new EdgeGrid(Config.akamai_client_token, Config.akamai_client_secret, Config.akamai_access_token, Config.akamai_host_uri);

eg.auth({
    path: '/ccu/v3/invalidate/url/production',
    method: 'POST',
    headers: {
      'Accept': 'application/json',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      objects: ["https://landing.mangot5.com/template/au/event/241107_fighter/index.html"]
     }),
  });

response: { type: 'https://problems.luna.akamaiapis.net/-/pep-authn/request-error', title: 'Bad request', status: 400, detail: 'Invalid timestamp', instance: 'https://akab-XXXXX.luna.akamaiapis.net/ccu/v3/invalidate/url/production', method: 'POST', serverIp: '23.41.XXX.XXX', clientIp: '118.163.XXX.XXX', requestId: '4ec255bc', requestTime: '2025-01-03T07:47:33Z' }

@lsadlon lsadlon changed the title Error 400 (Bad Timestamp) DXE-4556 Error 400 (Bad Timestamp) Jan 3, 2025
@lsadlon
Copy link

lsadlon commented Jan 3, 2025

Hi @taiwanJK

Thanks for reporting this issue. Could you check if you get same error using other tool like eg. Postman? As it might be issue with request itself.

BR,
Lukasz

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

No branches or pull requests

3 participants