Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

"Nonce has already been used" #109

Closed
beamercola opened this issue Nov 2, 2014 · 1 comment
Closed

"Nonce has already been used" #109

beamercola opened this issue Nov 2, 2014 · 1 comment

Comments

@beamercola
Copy link

I get this every time. Am I doing something wrong?

Error Error Domain=AFNetworkingErrorDomain Code=-1011 "Expected status code in (200-299), got 400" UserInfo=0x6080000f4500 {NSLocalizedRecoverySuggestion={
  "status": 400,
  "message": "Nonce has already been used. Make sure your nonces are reasonablely random and large",
  "additional": "",
  "reference": ""
}, NSErrorFailingURLKey=https://api.appfigures.com/v2/reports/sales?group_by=dates&start_date=2014-10-26
@mattt
Copy link
Contributor

mattt commented Nov 17, 2014

Nonces are automatically generated UUIDs, which are guaranteed to be different each time. Unless the same generated request is being sent multiple times, this is likely an error from the API provider.

@mattt mattt closed this as completed Nov 17, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants