eBay / eBay/digital-signature-java-sdk

The create time of signature parameters is not in right range

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
11
Forks
9
PR merge metrics
No merged PRs in 30d

Description

We are receiving ebay api error.: The create time of signature parameters is not in right range after successfully using the Digital Signature.

This is how the Unix Timestamp is created:

export const getUnixTimestamp = (): number => Math.floor(Date.now() / 1000);

I think it is related to this issue: https://stackoverflow.com/questions/74138344/ebay-digital-signatures-for-apis-signature-header-error-215114-the-create-time-o

Can it be related to daylight saving? How to solve this issue?

Thank you very much

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the getUnixTimestamp example and the Java SDK's digital-signature parameter handling, then compare the reported error with the linked Stack Overflow discussion. Confirm the conditions that reproduce the timestamp-range failure and document or test the expected create-time behavior before proposing a fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript
Domain
api, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.